diff options
Diffstat (limited to 'drivers/net/ucc_geth.h')
-rw-r--r-- | drivers/net/ucc_geth.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h index 16cbe42ba43c..66d18971fa0c 100644 --- a/drivers/net/ucc_geth.h +++ b/drivers/net/ucc_geth.h | |||
@@ -28,8 +28,6 @@ | |||
28 | #include <asm/ucc.h> | 28 | #include <asm/ucc.h> |
29 | #include <asm/ucc_fast.h> | 29 | #include <asm/ucc_fast.h> |
30 | 30 | ||
31 | #include "ucc_geth_mii.h" | ||
32 | |||
33 | #define DRV_DESC "QE UCC Gigabit Ethernet Controller" | 31 | #define DRV_DESC "QE UCC Gigabit Ethernet Controller" |
34 | #define DRV_NAME "ucc_geth" | 32 | #define DRV_NAME "ucc_geth" |
35 | #define DRV_VERSION "1.1" | 33 | #define DRV_VERSION "1.1" |
@@ -184,6 +182,18 @@ struct ucc_geth { | |||
184 | #define UCCE_RX_EVENTS (UCCE_RXF | UCC_GETH_UCCE_BSY) | 182 | #define UCCE_RX_EVENTS (UCCE_RXF | UCC_GETH_UCCE_BSY) |
185 | #define UCCE_TX_EVENTS (UCCE_TXB | UCC_GETH_UCCE_TXE) | 183 | #define UCCE_TX_EVENTS (UCCE_TXB | UCC_GETH_UCCE_TXE) |
186 | 184 | ||
185 | /* TBI defines */ | ||
186 | #define ENET_TBI_MII_CR 0x00 /* Control */ | ||
187 | #define ENET_TBI_MII_SR 0x01 /* Status */ | ||
188 | #define ENET_TBI_MII_ANA 0x04 /* AN advertisement */ | ||
189 | #define ENET_TBI_MII_ANLPBPA 0x05 /* AN link partner base page ability */ | ||
190 | #define ENET_TBI_MII_ANEX 0x06 /* AN expansion */ | ||
191 | #define ENET_TBI_MII_ANNPT 0x07 /* AN next page transmit */ | ||
192 | #define ENET_TBI_MII_ANLPANP 0x08 /* AN link partner ability next page */ | ||
193 | #define ENET_TBI_MII_EXST 0x0F /* Extended status */ | ||
194 | #define ENET_TBI_MII_JD 0x10 /* Jitter diagnostics */ | ||
195 | #define ENET_TBI_MII_TBICON 0x11 /* TBI control */ | ||
196 | |||
187 | /* UCC GETH MACCFG1 (MAC Configuration 1 Register) */ | 197 | /* UCC GETH MACCFG1 (MAC Configuration 1 Register) */ |
188 | #define MACCFG1_FLOW_RX 0x00000020 /* Flow Control | 198 | #define MACCFG1_FLOW_RX 0x00000020 /* Flow Control |
189 | Rx */ | 199 | Rx */ |