#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/phy.h>
#include <linux/micrel_phy.h>
Go to the source code of this file.
#define KS8737_CTRL_INT_ACTIVE_HIGH (1 << 14) |
#define KSZ8051_RMII_50MHZ_CLK (1 << 7) |
#define KSZ9021_CTRL_INT_ACTIVE_HIGH (1 << 14) |
#define KSZPHY_CTRL_INT_ACTIVE_HIGH (1 << 9) |
#define KSZPHY_INTCS_JABBER (1 << 15) |
#define KSZPHY_INTCS_LINK_DOWN (1 << 10) |
#define KSZPHY_INTCS_LINK_PARTNER_ACK (1 << 11) |
#define KSZPHY_INTCS_LINK_UP (1 << 8) |
#define KSZPHY_INTCS_PAGE_RECEIVE (1 << 13) |
#define KSZPHY_INTCS_PARELLEL (1 << 12) |
#define KSZPHY_INTCS_RECEIVE_ERR (1 << 14) |
#define KSZPHY_INTCS_REMOTE_FAULT (1 << 9) |
#define KSZPHY_OMSO_B_CAST_OFF (1 << 9) |
#define KSZPHY_OMSO_MII_OVERRIDE (1 << 0) |
#define KSZPHY_OMSO_RMII_OVERRIDE (1 << 1) |
#define MII_KSZPHY_CTRL 0x1F |
#define MII_KSZPHY_INTCS 0x1B |
#define MII_KSZPHY_OMSO 0x16 |
MODULE_AUTHOR |
( |
"David J. Choi" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
micrel_tbl |
|
|
) |
| |
module_exit |
( |
ksphy_exit |
| ) |
|
module_init |
( |
ksphy_init |
| ) |
|