Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | global_regs |
struct | txdma_regs |
struct | rxdma_regs |
struct | txmac_regs |
struct | rxmac_regs |
struct | mac_regs |
struct | macstat_regs |
struct | mmc_regs |
struct | address_map |
#define ET_DMA10_MASK 0x03FF /* 10 bit mask for DMA10W types */ |
#define ET_DMA12_MASK 0x0FFF /* 12 bit mask for DMA12W types */ |
#define ET_DMA4_MASK 0x000F /* 4 bit mask for DMA4W types */ |
#define INDEX10 | ( | x | ) | ((x) & ET_DMA10_MASK) |
#define INDEX12 | ( | x | ) | ((x) & ET_DMA12_MASK) |
#define INDEX4 | ( | x | ) | ((x) & ET_DMA4_MASK) |
#define LED_VAL_1000BT_100BTX 0x3 /* 1000BT on, 100BTX blink */ |
#define LED_VAL_DUPLEXFULL_COLLISION 0xC /* Duplex on, collision blink */ |
#define LED_VAL_LINKON_ACTIVE 0xA /* Link on, activity blink */ |
#define LED_VAL_LINKON_RECV 0xB /* Link on, receive blink */ |
#define PHY_CONFIG 0x16 /* TRU_VMI_CONFIGURATION_REG 22 */ |
#define PHY_INTERRUPT_MASK 0x18 /* TRU_VMI_INTERRUPT_MASK_REG 24 */ |
#define PHY_INTERRUPT_STATUS 0x19 /* TRU_VMI_INTERRUPT_STATUS_REG 25 */ |
#define PHY_LOOPBACK_CONTROL 0x13 /* TRU_VMI_LOOPBACK_CONTROL_1_REG 19 */ |
#define PHY_PHY_CONTROL 0x17 /* TRU_VMI_PHY_CONTROL_REG 23 */ |
#define PHY_PHY_STATUS 0x1A /* TRU_VMI_PHY_STATUS_REG 26 */ |
#define PHY_REGISTER_MGMT_CONTROL 0x15 /* TRU_VMI_MI_SEQ_CONTROL_REG 21 */ |
#define TRUEPHY_ADV_DUPLEX_BOTH (TRUEPHY_ADV_DUPLEX_FULL | TRUEPHY_ADV_DUPLEX_HALF) |