#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_DM9161_10BTCSR 0x12 |
#define MII_DM9161_10BTCSR_INIT 0x7800 |
#define MII_DM9161_INTR 0x15 |
#define MII_DM9161_INTR_DPLX_CHANGE 0x0010 |
#define MII_DM9161_INTR_DPLX_MASK 0x0800 |
#define MII_DM9161_INTR_INIT 0x0000 |
#define MII_DM9161_INTR_LINK_CHANGE 0x0004 |
#define MII_DM9161_INTR_LINK_MASK 0x0200 |
#define MII_DM9161_INTR_MASK 0x0100 |
#define MII_DM9161_INTR_PEND 0x8000 |
#define MII_DM9161_INTR_SPD_CHANGE 0x0008 |
#define MII_DM9161_INTR_SPD_MASK 0x0400 |
#define MII_DM9161_INTR_STOP |
#define MII_DM9161_SCR 0x10 |
#define MII_DM9161_SCR_INIT 0x0610 |
#define MII_DM9161_SCR_RMII 0x0100 |
MODULE_AUTHOR |
( |
"Andy Fleming" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
davicom_tbl |
|
|
) |
| |
module_exit |
( |
davicom_exit |
| ) |
|
module_init |
( |
davicom_init |
| ) |
|