#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.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/mm.h>
#include <linux/module.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
Go to the source code of this file.
#define MII_CIS8201_AUX_CONSTAT 0x1c |
#define MII_CIS8201_AUXCONSTAT_100 0x0008 |
#define MII_CIS8201_AUXCONSTAT_DUPLEX 0x0020 |
#define MII_CIS8201_AUXCONSTAT_GBIT 0x0010 |
#define MII_CIS8201_AUXCONSTAT_INIT 0x0004 |
#define MII_CIS8201_AUXCONSTAT_SPEED 0x0018 |
#define MII_CIS8201_EXT_CON1 0x17 |
#define MII_CIS8201_EXTCON1_INIT 0x0000 |
#define MII_CIS8201_IMASK 0x19 |
#define MII_CIS8201_IMASK_DUPLEX 0x1000 |
#define MII_CIS8201_IMASK_IEN 0x8000 |
#define MII_CIS8201_IMASK_LINK 0x2000 |
#define MII_CIS8201_IMASK_MASK 0xf000 |
#define MII_CIS8201_IMASK_SPEED 0x4000 |
#define MII_CIS8201_ISTAT 0x1a |
#define MII_CIS8201_ISTAT_DUPLEX 0x1000 |
#define MII_CIS8201_ISTAT_LINK 0x2000 |
#define MII_CIS8201_ISTAT_SPEED 0x4000 |
#define MII_CIS8201_ISTAT_STATUS 0x8000 |
MODULE_AUTHOR |
( |
"Andy Fleming" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
cicada_tbl |
|
|
) |
| |
module_exit |
( |
cicada_exit |
| ) |
|
module_init |
( |
cicada_init |
| ) |
|