#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/crc32.h>
#include <linux/hardirq.h>
#include <linux/delay.h>
#include <linux/of_device.h>
#include <linux/of_mdio.h>
#include <linux/of_platform.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/skbuff.h>
#include <asm/io.h>
#include <asm/delay.h>
#include <asm/mpc52xx.h>
#include <sysdev/bestcomm/bestcomm.h>
#include <sysdev/bestcomm/fec.h>
#include "fec_mpc52xx.h"
Go to the source code of this file.
|
| module_param_array_named (mac, mpc52xx_fec_mac_addr, byte, NULL, 0) |
|
| MODULE_PARM_DESC (mac,"six hex digits, ie. 0x1,0x2,0xc0,0x01,0xba,0xbe") |
|
| module_param (debug, int, 0) |
|
| MODULE_PARM_DESC (debug,"debugging messages level") |
|
| MODULE_DEVICE_TABLE (of, mpc52xx_fec_match) |
|
| module_init (mpc52xx_fec_init) |
|
| module_exit (mpc52xx_fec_exit) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Dale Farnsworth") |
|
| MODULE_DESCRIPTION ("Ethernet driver for the Freescale MPC52xx FEC") |
|
#define DRIVER_NAME "mpc52xx-fec" |
#define MPC52xx_MESSAGES_DEFAULT |
MODULE_AUTHOR |
( |
"Dale Farnsworth" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Ethernet driver for the Freescale MPC52xx FEC" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
mpc52xx_fec_match |
|
|
) |
| |
module_exit |
( |
mpc52xx_fec_exit |
| ) |
|
module_init |
( |
mpc52xx_fec_init |
| ) |
|
module_param_array_named |
( |
mac |
, |
|
|
mpc52xx_fec_mac_addr |
, |
|
|
byte |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mac |
, |
|
|
"six hex |
digits, |
|
|
ie. |
0x1, |
|
|
0x2 |
, |
|
|
0xc0 |
, |
|
|
0x01 |
, |
|
|
0xba |
, |
|
|
0xbe" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"debugging messages level" |
|
|
) |
| |