#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 <linux/io.h>
#include <linux/uaccess.h>
#include <asm/irq.h>
Go to the source code of this file.
#define ET1011C_CONFIG_REG (0x16) |
#define ET1011C_GIGABIT_SPEED (0x0200) |
#define ET1011C_GMII_INTERFACE (0x0002) |
#define ET1011C_INTERFACE_MASK (0x0007) |
#define ET1011C_SPEED_MASK (0x0300) |
#define ET1011C_STATUS_REG (0x1A) |
#define ET1011C_SYS_CLK_EN (0x01 << 4) |
#define ET1011C_TX_FIFO_DEPTH_16 (0x1000) |
#define ET1011C_TX_FIFO_DEPTH_8 (0x0000) |
#define ET1011C_TX_FIFO_MASK (0x3000) |
MODULE_AUTHOR |
( |
"Chaithrika U S" |
| ) |
|
MODULE_DESCRIPTION |
( |
"LSI ET1011C PHY driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
et1011c_tbl |
|
|
) |
| |
module_exit |
( |
et1011c_exit |
| ) |
|
module_init |
( |
et1011c_init |
| ) |
|