Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | tg3_tx_buffer_desc |
struct | tg3_rx_buffer_desc |
struct | tg3_ext_rx_buffer_desc |
struct | tg3_internal_buffer_desc |
struct | tg3_hw_status |
struct | tg3_stat64_t |
struct | tg3_hw_stats |
struct | tg3_ocir |
struct | ring_info |
struct | tg3_tx_ring_info |
struct | tg3_link_config |
struct | tg3_bufmgr_config |
struct | tg3_ethtool_stats |
struct | tg3_rx_prodring_set |
struct | tg3_napi |
struct | tg3 |
#define APE_HOST_DRIVER_ID_MAGIC | ( | maj, | |
min | |||
) | (APE_HOST_DRIVER_ID_LINUX | (maj & 0xff) << 16 | (min & 0xff) << 8) |
#define ATMEL_AT24C02_CHIP_SIZE TG3_NVRAM_SIZE_2KB |
#define ATMEL_AT24C512_CHIP_SIZE TG3_NVRAM_SIZE_512KB |
#define ATMEL_AT24C64_CHIP_SIZE TG3_NVRAM_SIZE_64KB |
#define BDINFO_FLAGS_USE_EXT_RECV 0x00000001 /* ext rx_buffer_desc */ |
#define GET_CHIP_REV_ID | ( | MISC_HOST_CTRL | ) |
#define GRC_LCLCTRL_USE_EXT_SIG_DETECT 0x00000020 /* 5714/5780 only */ |
#define GRC_LCLCTRL_USE_SIG_DETECT 0x00000010 /* 5714/5780 only */ |
#define GRC_MODE_PCIE_PORT_MASK |
#define MAC_MI_MODE_BASE 0x000c0000 /* XXX magic values XXX */ |
#define MAC_PHYCFG2_50610_LED_MODES |
#define MAC_PHYCFG2_AC131_LED_MODES |
#define MAC_PHYCFG2_RTL8201E_LED_MODES |
#define MAC_PHYCFG2_RTL8211C_LED_MODES |
#define MII_TG3_AUX_CTRL 0x18 /* auxiliary control register */ |
#define MII_TG3_AUX_STAT 0x19 /* auxiliary status register */ |
#define MII_TG3_DSP_RW_PORT 0x15 /* DSP coefficient read/write port */ |
#define MII_TG3_EXT_CTRL 0x10 /* Extended control register */ |
#define MII_TG3_MMD_ADDRESS 0x0e /* MMD Address Data register */ |
#define MII_TG3_MMD_CTRL 0x0d /* MMD Access Control register */ |
#define MII_TG3_RXR_COUNTERS 0x14 /* Local/Remote Receiver Counts */ |
#define NIC_SRAM_DATA_SIG_MAGIC 0x4b657654 /* ascii for 'KevT' */ |
#define NIC_SRAM_FIRMWARE_MBOX_MAGIC2 0x4861764b /* !dma on linkchg */ |
#define NIC_SRAM_RCV_RET_RCB 0x00000200 /* 16 * TG3_BDINFO_... */ |
#define NIC_SRAM_RX_JUMBO_BUFFER_DESC 0x00007000 /* 256 entries */ |
#define NIC_SRAM_SEND_RCB 0x00000100 /* 16 * TG3_BDINFO_... */ |
#define RCVLPC_COS_CNTL_BASE 0x00002200 /* 16 4-byte entries */ |
#define RCVLPC_SELLST_BASE 0x00002100 /* 16 16-byte entries */ |
#define SG_DIG_COMMON_SETUP |
#define SG_DIG_PARTNER_ASYM_PAUSE 0x00100000 /* If !MRADV_CRC16_SELECT */ |
#define SG_DIG_PARTNER_FAULT_MASK 0x00600000 /* If !MRADV_CRC16_SELECT */ |
#define SG_DIG_PARTNER_FULL_DUPLEX 0x00020000 /* If !MRADV_CRC16_SELECT */ |
#define SG_DIG_PARTNER_HALF_DUPLEX 0x00040000 /* If !MRADV_CRC16_SELECT */ |
#define SG_DIG_PARTNER_NEXT_PAGE 0x00010000 /* If !MRADV_CRC16_SELECT */ |
#define SG_DIG_PARTNER_PAUSE_CAPABLE 0x00080000 /* If !MRADV_CRC16_SELECT */ |
#define TG3_IRQ_MAX_VECS TG3_IRQ_MAX_VECS_RSS |
#define TG3_IRQ_MAX_VECS_RSS (TG3_RSS_MAX_NUM_QS + 1) |
#define TG3_KNOWN_PHY_ID | ( | X | ) |
#define TG3_PHYFLG_ANY_SERDES |
#define TG3_RX_JMB_PROD_IDX_REG |
#define TG3_RX_STD_PROD_IDX_REG |
#define TG3_VER_SIZE ETHTOOL_FWVERS_LEN |
#define TG3PCI_SUBVENDOR_ID_3COM PCI_VENDOR_ID_3COM |
#define TG3PCI_SUBVENDOR_ID_BROADCOM PCI_VENDOR_ID_BROADCOM |
#define TG3PCI_SUBVENDOR_ID_COMPAQ PCI_VENDOR_ID_COMPAQ |
#define TG3PCI_SUBVENDOR_ID_DELL PCI_VENDOR_ID_DELL |
#define TG3PCI_SUBVENDOR_ID_IBM PCI_VENDOR_ID_IBM |
#define TXD_LEN_FLAGS 0x08UL /* 32-bit (upper 16-bits are len) */ |
#define TXD_VLAN_TAG 0x0cUL /* 32-bit (upper 16-bits are tag) */ |
enum TG3_FLAGS |