#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/mii.h>
#include <linux/phy.h>
#include <linux/workqueue.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include <linux/of_platform.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/immap_qe.h>
#include <asm/qe.h>
#include <asm/ucc.h>
#include <asm/ucc_fast.h>
#include <asm/machdep.h>
#include "ucc_geth.h"
Go to the source code of this file.
|
#define | ugeth_printk(level, format, arg...) printk(level format "\n", ## arg) |
|
#define | ugeth_dbg(format, arg...) ugeth_printk(KERN_DEBUG , format , ## arg) |
|
#define | ugeth_err(format, arg...) ugeth_printk(KERN_ERR , format , ## arg) |
|
#define | ugeth_info(format, arg...) ugeth_printk(KERN_INFO , format , ## arg) |
|
#define | ugeth_warn(format, arg...) ugeth_printk(KERN_WARNING , format , ## arg) |
|
#define | ugeth_vdbg(fmt, args...) do { } while (0) |
|
#define | UGETH_MSG_DEFAULT (NETIF_MSG_IFUP << 1 ) - 1 |
|
#define | ucc_geth_suspend NULL |
|
#define | ucc_geth_resume NULL |
|
|
| module_param_named (debug, debug.msg_enable, int, 0) |
|
| MODULE_PARM_DESC (debug,"Debug verbosity level (0=none, ..., 0xffff=all)") |
|
int | init_flow_control_params (u32 automatic_flow_control_mode, int rx_flow_control_enable, int tx_flow_control_enable, u16 pause_period, u16 extension_field, u32 __iomem *upsmr_register, u32 __iomem *uempr_register, u32 __iomem *maccfg1_register) |
|
| MODULE_DEVICE_TABLE (of, ucc_geth_match) |
|
| module_init (ucc_geth_init) |
|
| module_exit (ucc_geth_exit) |
|
| MODULE_AUTHOR ("Freescale Semiconductor, Inc") |
|
| MODULE_DESCRIPTION (DRV_DESC) |
|
| MODULE_VERSION (DRV_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
#define ucc_geth_resume NULL |
#define ucc_geth_suspend NULL |
#define ugeth_vdbg |
( |
|
fmt, |
|
|
|
args... |
|
) |
| do { } while (0) |
int init_flow_control_params |
( |
u32 |
automatic_flow_control_mode, |
|
|
int |
rx_flow_control_enable, |
|
|
int |
tx_flow_control_enable, |
|
|
u16 |
pause_period, |
|
|
u16 |
extension_field, |
|
|
u32 __iomem * |
upsmr_register, |
|
|
u32 __iomem * |
uempr_register, |
|
|
u32 __iomem * |
maccfg1_register |
|
) |
| |
MODULE_AUTHOR |
( |
"Freescale |
Semiconductor, |
|
|
Inc" |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
ucc_geth_match |
|
|
) |
| |
module_exit |
( |
ucc_geth_exit |
| ) |
|
module_init |
( |
ucc_geth_init |
| ) |
|
module_param_named |
( |
debug |
, |
|
|
debug. |
msg_enable, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"Debug verbosity level (0=none, ..., 0xffff=all)" |
|
|
) |
| |