#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/bitops.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>
#include <asm/pgtable.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/mpc5xxx.h>
#include "fs_enet.h"
#include "fec.h"
Go to the source code of this file.
#define FEC_MII_LOOPS 10000 |
#define mk_mii_read |
( |
|
REG | ) |
(0x60020000 | ((REG & 0x1f) << 18)) |
#define mk_mii_write |
( |
|
REG, |
|
|
|
VAL |
|
) |
| (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) |
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
fs_enet_mdio_fec_match |
|
|
) |
| |
module_platform_driver |
( |
fs_enet_fec_mdio_driver |
| ) |
|