#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_QS6612_FTR 27 /* Factory Test Register */ |
#define MII_QS6612_IMR 30 /* Interrupt Mask Register */ |
#define MII_QS6612_IMR_INIT 0x003a |
#define MII_QS6612_ISR 29 /* Interrupt Source Register */ |
#define MII_QS6612_PCR 31 /* 100BaseTx PHY Control Reg. */ |
#define QS6612_PCR_4B5BEN 0x0040 |
#define QS6612_PCR_AN_COMPLETE 0x1000 |
#define QS6612_PCR_DCREN 0x0100 |
#define QS6612_PCR_MLT3_DIS 0x0002 |
#define QS6612_PCR_RLBEN 0x0200 |
#define QS6612_PCR_SCRM_DESCRM 0x0001 |
#define QS6612_PCR_TX_ISOLATE 0x0020 |
MODULE_AUTHOR |
( |
"Andy Fleming" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Quality Semiconductor PHY driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
qs6612_tbl |
|
|
) |
| |
module_exit |
( |
qs6612_exit |
| ) |
|
module_init |
( |
qs6612_init |
| ) |
|