Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | rdesc0 |
struct | rdesc1 |
struct | rx_desc |
struct | tdesc0 |
struct | tdesc1 |
struct | td_buf |
struct | tx_desc |
struct | velocity_rd_info |
struct | velocity_td_info |
struct | mac_regs |
struct | velocity_info_tbl |
struct | arp_packet |
struct | _magic_packet |
struct | velocity_context |
struct | velocity_opt |
struct | velocity_info |
struct | velocity_info::tx_info |
struct | velocity_info::rx_info |
Macros | |
#define | VELOCITY_TX_CSUM_SUPPORT |
#define | VELOCITY_NAME "via-velocity" |
#define | VELOCITY_FULL_DRV_NAM "VIA Networking Velocity Family Gigabit Ethernet Adapter Driver" |
#define | VELOCITY_VERSION "1.15" |
#define | VELOCITY_IO_SIZE 256 |
#define | VELOCITY_NAPI_WEIGHT 64 |
#define | PKT_BUF_SZ 1540 |
#define | MAX_UNITS 8 |
#define | OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1} |
#define | REV_ID_VT6110 (0) |
#define | BYTE_REG_BITS_ON(x, p) do { writeb(readb((p))|(x),(p));} while (0) |
#define | WORD_REG_BITS_ON(x, p) do { writew(readw((p))|(x),(p));} while (0) |
#define | DWORD_REG_BITS_ON(x, p) do { writel(readl((p))|(x),(p));} while (0) |
#define | BYTE_REG_BITS_IS_ON(x, p) (readb((p)) & (x)) |
#define | WORD_REG_BITS_IS_ON(x, p) (readw((p)) & (x)) |
#define | DWORD_REG_BITS_IS_ON(x, p) (readl((p)) & (x)) |
#define | BYTE_REG_BITS_OFF(x, p) do { writeb(readb((p)) & (~(x)),(p));} while (0) |
#define | WORD_REG_BITS_OFF(x, p) do { writew(readw((p)) & (~(x)),(p));} while (0) |
#define | DWORD_REG_BITS_OFF(x, p) do { writel(readl((p)) & (~(x)),(p));} while (0) |
#define | BYTE_REG_BITS_SET(x, m, p) do { writeb( (readb((p)) & (~(m))) |(x),(p));} while (0) |
#define | WORD_REG_BITS_SET(x, m, p) do { writew( (readw((p)) & (~(m))) |(x),(p));} while (0) |
#define | DWORD_REG_BITS_SET(x, m, p) do { writel( (readl((p)) & (~(m)))|(x),(p));} while (0) |
#define | VAR_USED(p) do {(p)=(p);} while (0) |
#define | B_OWNED_BY_CHIP 1 |
#define | B_OWNED_BY_HOST 0 |
#define | RSR_DETAG cpu_to_le16(0x0080) |
#define | RSR_SNTAG cpu_to_le16(0x0040) |
#define | RSR_RXER cpu_to_le16(0x0020) |
#define | RSR_RL cpu_to_le16(0x0010) |
#define | RSR_CE cpu_to_le16(0x0008) |
#define | RSR_FAE cpu_to_le16(0x0004) |
#define | RSR_CRC cpu_to_le16(0x0002) |
#define | RSR_VIDM cpu_to_le16(0x0001) |
#define | RSR_RXOK cpu_to_le16(0x8000) |
#define | RSR_PFT cpu_to_le16(0x4000) |
#define | RSR_MAR cpu_to_le16(0x2000) |
#define | RSR_BAR cpu_to_le16(0x1000) |
#define | RSR_PHY cpu_to_le16(0x0800) |
#define | RSR_VTAG cpu_to_le16(0x0400) |
#define | RSR_STP cpu_to_le16(0x0200) |
#define | RSR_EDP cpu_to_le16(0x0100) |
#define | CSM_IPOK 0x40 |
#define | CSM_TUPOK 0x20 |
#define | CSM_FRAG 0x10 |
#define | CSM_IPKT 0x04 |
#define | CSM_TCPKT 0x02 |
#define | CSM_UDPKT 0x01 |
#define | TSR0_ABT cpu_to_le16(0x0080) |
#define | TSR0_OWT cpu_to_le16(0x0040) |
#define | TSR0_OWC cpu_to_le16(0x0020) |
#define | TSR0_COLS cpu_to_le16(0x0010) |
#define | TSR0_NCR3 cpu_to_le16(0x0008) |
#define | TSR0_NCR2 cpu_to_le16(0x0004) |
#define | TSR0_NCR1 cpu_to_le16(0x0002) |
#define | TSR0_NCR0 cpu_to_le16(0x0001) |
#define | TSR0_TERR cpu_to_le16(0x8000) |
#define | TSR0_FDX cpu_to_le16(0x4000) |
#define | TSR0_GMII cpu_to_le16(0x2000) |
#define | TSR0_LNKFL cpu_to_le16(0x1000) |
#define | TSR0_SHDN cpu_to_le16(0x0400) |
#define | TSR0_CRS cpu_to_le16(0x0200) |
#define | TSR0_CDH cpu_to_le16(0x0100) |
#define | TCR0_TIC 0x80 |
#define | TCR0_PIC 0x40 |
#define | TCR0_VETAG 0x20 |
#define | TCR0_IPCK 0x10 |
#define | TCR0_UDPCK 0x08 |
#define | TCR0_TCPCK 0x04 |
#define | TCR0_JMBO 0x02 |
#define | TCR0_CRC 0x01 |
#define | TCPLS_NORMAL 3 |
#define | TCPLS_START 2 |
#define | TCPLS_END 1 |
#define | TCPLS_MED 0 |
#define | CB_RX_BUF_SIZE 2048UL |
#define | CB_MAX_RD_NUM 512 |
#define | CB_MAX_TD_NUM 256 |
#define | CB_INIT_RD_NUM_3119 128 |
#define | CB_INIT_TD_NUM_3119 64 |
#define | CB_INIT_RD_NUM 128 |
#define | CB_INIT_TD_NUM 64 |
#define | CB_TD_RING_NUM 4 |
#define | CB_MAX_SEG_PER_PKT 7 |
#define | CB_MAX_TX_ABORT_RETRY 3 |
#define | MCAM_SIZE 64 |
#define | VCAM_SIZE 64 |
#define | TX_QUEUE_NO 4 |
#define | MAX_HW_MIB_COUNTER 32 |
#define | VELOCITY_MIN_MTU (64) |
#define | VELOCITY_MAX_MTU (9000) |
#define | MAC_REG_PAR 0x00 |
#define | MAC_REG_RCR 0x06 |
#define | MAC_REG_TCR 0x07 |
#define | MAC_REG_CR0_SET 0x08 |
#define | MAC_REG_CR1_SET 0x09 |
#define | MAC_REG_CR2_SET 0x0A |
#define | MAC_REG_CR3_SET 0x0B |
#define | MAC_REG_CR0_CLR 0x0C |
#define | MAC_REG_CR1_CLR 0x0D |
#define | MAC_REG_CR2_CLR 0x0E |
#define | MAC_REG_CR3_CLR 0x0F |
#define | MAC_REG_MAR 0x10 |
#define | MAC_REG_CAM 0x10 |
#define | MAC_REG_DEC_BASE_HI 0x18 |
#define | MAC_REG_DBF_BASE_HI 0x1C |
#define | MAC_REG_ISR_CTL 0x20 |
#define | MAC_REG_ISR_HOTMR 0x20 |
#define | MAC_REG_ISR_TSUPTHR 0x20 |
#define | MAC_REG_ISR_RSUPTHR 0x20 |
#define | MAC_REG_ISR_CTL1 0x21 |
#define | MAC_REG_TXE_SR 0x22 |
#define | MAC_REG_RXE_SR 0x23 |
#define | MAC_REG_ISR 0x24 |
#define | MAC_REG_ISR0 0x24 |
#define | MAC_REG_ISR1 0x25 |
#define | MAC_REG_ISR2 0x26 |
#define | MAC_REG_ISR3 0x27 |
#define | MAC_REG_IMR 0x28 |
#define | MAC_REG_IMR0 0x28 |
#define | MAC_REG_IMR1 0x29 |
#define | MAC_REG_IMR2 0x2A |
#define | MAC_REG_IMR3 0x2B |
#define | MAC_REG_TDCSR_SET 0x30 |
#define | MAC_REG_RDCSR_SET 0x32 |
#define | MAC_REG_TDCSR_CLR 0x34 |
#define | MAC_REG_RDCSR_CLR 0x36 |
#define | MAC_REG_RDBASE_LO 0x38 |
#define | MAC_REG_RDINDX 0x3C |
#define | MAC_REG_TDBASE_LO 0x40 |
#define | MAC_REG_RDCSIZE 0x50 |
#define | MAC_REG_TDCSIZE 0x52 |
#define | MAC_REG_TDINDX 0x54 |
#define | MAC_REG_TDIDX0 0x54 |
#define | MAC_REG_TDIDX1 0x56 |
#define | MAC_REG_TDIDX2 0x58 |
#define | MAC_REG_TDIDX3 0x5A |
#define | MAC_REG_PAUSE_TIMER 0x5C |
#define | MAC_REG_RBRDU 0x5E |
#define | MAC_REG_FIFO_TEST0 0x60 |
#define | MAC_REG_FIFO_TEST1 0x64 |
#define | MAC_REG_CAMADDR 0x68 |
#define | MAC_REG_CAMCR 0x69 |
#define | MAC_REG_GFTEST 0x6A |
#define | MAC_REG_FTSTCMD 0x6B |
#define | MAC_REG_MIICFG 0x6C |
#define | MAC_REG_MIISR 0x6D |
#define | MAC_REG_PHYSR0 0x6E |
#define | MAC_REG_PHYSR1 0x6F |
#define | MAC_REG_MIICR 0x70 |
#define | MAC_REG_MIIADR 0x71 |
#define | MAC_REG_MIIDATA 0x72 |
#define | MAC_REG_SOFT_TIMER0 0x74 |
#define | MAC_REG_SOFT_TIMER1 0x76 |
#define | MAC_REG_CFGA 0x78 |
#define | MAC_REG_CFGB 0x79 |
#define | MAC_REG_CFGC 0x7A |
#define | MAC_REG_CFGD 0x7B |
#define | MAC_REG_DCFG0 0x7C |
#define | MAC_REG_DCFG1 0x7D |
#define | MAC_REG_MCFG0 0x7E |
#define | MAC_REG_MCFG1 0x7F |
#define | MAC_REG_TBIST 0x80 |
#define | MAC_REG_RBIST 0x81 |
#define | MAC_REG_PMCC 0x82 |
#define | MAC_REG_STICKHW 0x83 |
#define | MAC_REG_MIBCR 0x84 |
#define | MAC_REG_EERSV 0x85 |
#define | MAC_REG_REVID 0x86 |
#define | MAC_REG_MIBREAD 0x88 |
#define | MAC_REG_BPMA 0x8C |
#define | MAC_REG_EEWR_DATA 0x8C |
#define | MAC_REG_BPMD_WR 0x8F |
#define | MAC_REG_BPCMD 0x90 |
#define | MAC_REG_BPMD_RD 0x91 |
#define | MAC_REG_EECHKSUM 0x92 |
#define | MAC_REG_EECSR 0x93 |
#define | MAC_REG_EERD_DATA 0x94 |
#define | MAC_REG_EADDR 0x96 |
#define | MAC_REG_EMBCMD 0x97 |
#define | MAC_REG_JMPSR0 0x98 |
#define | MAC_REG_JMPSR1 0x99 |
#define | MAC_REG_JMPSR2 0x9A |
#define | MAC_REG_JMPSR3 0x9B |
#define | MAC_REG_CHIPGSR 0x9C |
#define | MAC_REG_TESTCFG 0x9D |
#define | MAC_REG_DEBUG 0x9E |
#define | MAC_REG_CHIPGCR 0x9F /* Chip Operation and Diagnostic Control */ |
#define | MAC_REG_WOLCR0_SET 0xA0 |
#define | MAC_REG_WOLCR1_SET 0xA1 |
#define | MAC_REG_PWCFG_SET 0xA2 |
#define | MAC_REG_WOLCFG_SET 0xA3 |
#define | MAC_REG_WOLCR0_CLR 0xA4 |
#define | MAC_REG_WOLCR1_CLR 0xA5 |
#define | MAC_REG_PWCFG_CLR 0xA6 |
#define | MAC_REG_WOLCFG_CLR 0xA7 |
#define | MAC_REG_WOLSR0_SET 0xA8 |
#define | MAC_REG_WOLSR1_SET 0xA9 |
#define | MAC_REG_WOLSR0_CLR 0xAC |
#define | MAC_REG_WOLSR1_CLR 0xAD |
#define | MAC_REG_PATRN_CRC0 0xB0 |
#define | MAC_REG_PATRN_CRC1 0xB2 |
#define | MAC_REG_PATRN_CRC2 0xB4 |
#define | MAC_REG_PATRN_CRC3 0xB6 |
#define | MAC_REG_PATRN_CRC4 0xB8 |
#define | MAC_REG_PATRN_CRC5 0xBA |
#define | MAC_REG_PATRN_CRC6 0xBC |
#define | MAC_REG_PATRN_CRC7 0xBE |
#define | MAC_REG_BYTEMSK0_0 0xC0 |
#define | MAC_REG_BYTEMSK0_1 0xC4 |
#define | MAC_REG_BYTEMSK0_2 0xC8 |
#define | MAC_REG_BYTEMSK0_3 0xCC |
#define | MAC_REG_BYTEMSK1_0 0xD0 |
#define | MAC_REG_BYTEMSK1_1 0xD4 |
#define | MAC_REG_BYTEMSK1_2 0xD8 |
#define | MAC_REG_BYTEMSK1_3 0xDC |
#define | MAC_REG_BYTEMSK2_0 0xE0 |
#define | MAC_REG_BYTEMSK2_1 0xE4 |
#define | MAC_REG_BYTEMSK2_2 0xE8 |
#define | MAC_REG_BYTEMSK2_3 0xEC |
#define | MAC_REG_BYTEMSK3_0 0xF0 |
#define | MAC_REG_BYTEMSK3_1 0xF4 |
#define | MAC_REG_BYTEMSK3_2 0xF8 |
#define | MAC_REG_BYTEMSK3_3 0xFC |
#define | RCR_AS 0x80 |
#define | RCR_AP 0x40 |
#define | RCR_AL 0x20 |
#define | RCR_PROM 0x10 |
#define | RCR_AB 0x08 |
#define | RCR_AM 0x04 |
#define | RCR_AR 0x02 |
#define | RCR_SEP 0x01 |
#define | TCR_TB2BDIS 0x80 |
#define | TCR_COLTMC1 0x08 |
#define | TCR_COLTMC0 0x04 |
#define | TCR_LB1 0x02 /* loopback[1] */ |
#define | TCR_LB0 0x01 /* loopback[0] */ |
#define | CR0_TXON 0x00000008UL |
#define | CR0_RXON 0x00000004UL |
#define | CR0_STOP 0x00000002UL /* stop MAC, default = 1 */ |
#define | CR0_STRT 0x00000001UL /* start MAC */ |
#define | CR0_SFRST 0x00008000UL /* software reset */ |
#define | CR0_TM1EN 0x00004000UL |
#define | CR0_TM0EN 0x00002000UL |
#define | CR0_DPOLL 0x00000800UL /* disable rx/tx auto polling */ |
#define | CR0_DISAU 0x00000100UL |
#define | CR0_XONEN 0x00800000UL |
#define | CR0_FDXTFCEN 0x00400000UL /* full-duplex TX flow control enable */ |
#define | CR0_FDXRFCEN 0x00200000UL /* full-duplex RX flow control enable */ |
#define | CR0_HDXFCEN 0x00100000UL /* half-duplex flow control enable */ |
#define | CR0_XHITH1 0x00080000UL /* TX XON high threshold 1 */ |
#define | CR0_XHITH0 0x00040000UL /* TX XON high threshold 0 */ |
#define | CR0_XLTH1 0x00020000UL /* TX pause frame low threshold 1 */ |
#define | CR0_XLTH0 0x00010000UL /* TX pause frame low threshold 0 */ |
#define | CR0_GSPRST 0x80000000UL |
#define | CR0_FORSRST 0x40000000UL |
#define | CR0_FPHYRST 0x20000000UL |
#define | CR0_DIAG 0x10000000UL |
#define | CR0_INTPCTL 0x04000000UL |
#define | CR0_GINTMSK1 0x02000000UL |
#define | CR0_GINTMSK0 0x01000000UL |
#define | CR1_SFRST 0x80 /* software reset */ |
#define | CR1_TM1EN 0x40 |
#define | CR1_TM0EN 0x20 |
#define | CR1_DPOLL 0x08 /* disable rx/tx auto polling */ |
#define | CR1_DISAU 0x01 |
#define | CR2_XONEN 0x80 |
#define | CR2_FDXTFCEN 0x40 /* full-duplex TX flow control enable */ |
#define | CR2_FDXRFCEN 0x20 /* full-duplex RX flow control enable */ |
#define | CR2_HDXFCEN 0x10 /* half-duplex flow control enable */ |
#define | CR2_XHITH1 0x08 /* TX XON high threshold 1 */ |
#define | CR2_XHITH0 0x04 /* TX XON high threshold 0 */ |
#define | CR2_XLTH1 0x02 /* TX pause frame low threshold 1 */ |
#define | CR2_XLTH0 0x01 /* TX pause frame low threshold 0 */ |
#define | CR3_GSPRST 0x80 |
#define | CR3_FORSRST 0x40 |
#define | CR3_FPHYRST 0x20 |
#define | CR3_DIAG 0x10 |
#define | CR3_INTPCTL 0x04 |
#define | CR3_GINTMSK1 0x02 |
#define | CR3_GINTMSK0 0x01 |
#define | ISRCTL_UDPINT 0x8000 |
#define | ISRCTL_TSUPDIS 0x4000 |
#define | ISRCTL_RSUPDIS 0x2000 |
#define | ISRCTL_PMSK1 0x1000 |
#define | ISRCTL_PMSK0 0x0800 |
#define | ISRCTL_INTPD 0x0400 |
#define | ISRCTL_HCRLD 0x0200 |
#define | ISRCTL_SCRLD 0x0100 |
#define | ISRCTL1_UDPINT 0x80 |
#define | ISRCTL1_TSUPDIS 0x40 |
#define | ISRCTL1_RSUPDIS 0x20 |
#define | ISRCTL1_PMSK1 0x10 |
#define | ISRCTL1_PMSK0 0x08 |
#define | ISRCTL1_INTPD 0x04 |
#define | ISRCTL1_HCRLD 0x02 |
#define | ISRCTL1_SCRLD 0x01 |
#define | TXESR_TFDBS 0x08 |
#define | TXESR_TDWBS 0x04 |
#define | TXESR_TDRBS 0x02 |
#define | TXESR_TDSTR 0x01 |
#define | RXESR_RFDBS 0x08 |
#define | RXESR_RDWBS 0x04 |
#define | RXESR_RDRBS 0x02 |
#define | RXESR_RDSTR 0x01 |
#define | ISR_ISR3 0x80000000UL |
#define | ISR_ISR2 0x40000000UL |
#define | ISR_ISR1 0x20000000UL |
#define | ISR_ISR0 0x10000000UL |
#define | ISR_TXSTLI 0x02000000UL |
#define | ISR_RXSTLI 0x01000000UL |
#define | ISR_HFLD 0x00800000UL |
#define | ISR_UDPI 0x00400000UL |
#define | ISR_MIBFI 0x00200000UL |
#define | ISR_SHDNI 0x00100000UL |
#define | ISR_PHYI 0x00080000UL |
#define | ISR_PWEI 0x00040000UL |
#define | ISR_TMR1I 0x00020000UL |
#define | ISR_TMR0I 0x00010000UL |
#define | ISR_SRCI 0x00008000UL |
#define | ISR_LSTPEI 0x00004000UL |
#define | ISR_LSTEI 0x00002000UL |
#define | ISR_OVFI 0x00001000UL |
#define | ISR_FLONI 0x00000800UL |
#define | ISR_RACEI 0x00000400UL |
#define | ISR_TXWB1I 0x00000200UL |
#define | ISR_TXWB0I 0x00000100UL |
#define | ISR_PTX3I 0x00000080UL |
#define | ISR_PTX2I 0x00000040UL |
#define | ISR_PTX1I 0x00000020UL |
#define | ISR_PTX0I 0x00000010UL |
#define | ISR_PTXI 0x00000008UL |
#define | ISR_PRXI 0x00000004UL |
#define | ISR_PPTXI 0x00000002UL |
#define | ISR_PPRXI 0x00000001UL |
#define | IMR_TXSTLM 0x02000000UL |
#define | IMR_UDPIM 0x00400000UL |
#define | IMR_MIBFIM 0x00200000UL |
#define | IMR_SHDNIM 0x00100000UL |
#define | IMR_PHYIM 0x00080000UL |
#define | IMR_PWEIM 0x00040000UL |
#define | IMR_TMR1IM 0x00020000UL |
#define | IMR_TMR0IM 0x00010000UL |
#define | IMR_SRCIM 0x00008000UL |
#define | IMR_LSTPEIM 0x00004000UL |
#define | IMR_LSTEIM 0x00002000UL |
#define | IMR_OVFIM 0x00001000UL |
#define | IMR_FLONIM 0x00000800UL |
#define | IMR_RACEIM 0x00000400UL |
#define | IMR_TXWB1IM 0x00000200UL |
#define | IMR_TXWB0IM 0x00000100UL |
#define | IMR_PTX3IM 0x00000080UL |
#define | IMR_PTX2IM 0x00000040UL |
#define | IMR_PTX1IM 0x00000020UL |
#define | IMR_PTX0IM 0x00000010UL |
#define | IMR_PTXIM 0x00000008UL |
#define | IMR_PRXIM 0x00000004UL |
#define | IMR_PPTXIM 0x00000002UL |
#define | IMR_PPRXIM 0x00000001UL |
#define | INT_MASK_DEF |
#define | TRDCSR_DEAD 0x0008 |
#define | TRDCSR_WAK 0x0004 |
#define | TRDCSR_ACT 0x0002 |
#define | TRDCSR_RUN 0x0001 |
#define | CAMADDR_CAMEN 0x80 |
#define | CAMADDR_VCAMSL 0x40 |
#define | CAMCR_PS1 0x80 |
#define | CAMCR_PS0 0x40 |
#define | CAMCR_AITRPKT 0x20 |
#define | CAMCR_AITR16 0x10 |
#define | CAMCR_CAMRD 0x08 |
#define | CAMCR_CAMWR 0x04 |
#define | CAMCR_PS_CAM_MASK 0x40 |
#define | CAMCR_PS_CAM_DATA 0x80 |
#define | CAMCR_PS_MAR 0x00 |
#define | MIICFG_MPO1 0x80 |
#define | MIICFG_MPO0 0x40 |
#define | MIICFG_MFDC 0x20 |
#define | MIISR_MIDLE 0x80 |
#define | PHYSR0_PHYRST 0x80 |
#define | PHYSR0_LINKGD 0x40 |
#define | PHYSR0_FDPX 0x10 |
#define | PHYSR0_SPDG 0x08 |
#define | PHYSR0_SPD10 0x04 |
#define | PHYSR0_RXFLC 0x02 |
#define | PHYSR0_TXFLC 0x01 |
#define | PHYSR1_PHYTBI 0x01 |
#define | MIICR_MAUTO 0x80 |
#define | MIICR_RCMD 0x40 |
#define | MIICR_WCMD 0x20 |
#define | MIICR_MDPM 0x10 |
#define | MIICR_MOUT 0x08 |
#define | MIICR_MDO 0x04 |
#define | MIICR_MDI 0x02 |
#define | MIICR_MDC 0x01 |
#define | MIIADR_SWMPL 0x80 |
#define | CFGA_PMHCTG 0x08 |
#define | CFGA_GPIO1PD 0x04 |
#define | CFGA_ABSHDN 0x02 |
#define | CFGA_PACPI 0x01 |
#define | CFGB_GTCKOPT 0x80 |
#define | CFGB_MIIOPT 0x40 |
#define | CFGB_CRSEOPT 0x20 |
#define | CFGB_OFSET 0x10 |
#define | CFGB_CRANDOM 0x08 |
#define | CFGB_CAP 0x04 |
#define | CFGB_MBA 0x02 |
#define | CFGB_BAKOPT 0x01 |
#define | CFGC_EELOAD 0x80 |
#define | CFGC_BROPT 0x40 |
#define | CFGC_DLYEN 0x20 |
#define | CFGC_DTSEL 0x10 |
#define | CFGC_BTSEL 0x08 |
#define | CFGC_BPS2 0x04 /* bootrom select[2] */ |
#define | CFGC_BPS1 0x02 /* bootrom select[1] */ |
#define | CFGC_BPS0 0x01 /* bootrom select[0] */ |
#define | CFGD_IODIS 0x80 |
#define | CFGD_MSLVDACEN 0x40 |
#define | CFGD_CFGDACEN 0x20 |
#define | CFGD_PCI64EN 0x10 |
#define | CFGD_HTMRL4 0x08 |
#define | DCFG_XMWI 0x8000 |
#define | DCFG_XMRM 0x4000 |
#define | DCFG_XMRL 0x2000 |
#define | DCFG_PERDIS 0x1000 |
#define | DCFG_MRWAIT 0x0400 |
#define | DCFG_MWWAIT 0x0200 |
#define | DCFG_LATMEN 0x0100 |
#define | MCFG_RXARB 0x0080 |
#define | MCFG_RFT1 0x0020 |
#define | MCFG_RFT0 0x0010 |
#define | MCFG_LOWTHOPT 0x0008 |
#define | MCFG_PQEN 0x0004 |
#define | MCFG_RTGOPT 0x0002 |
#define | MCFG_VIDFR 0x0001 |
#define | MCFG_TXARB 0x8000 |
#define | MCFG_TXQBK1 0x0800 |
#define | MCFG_TXQBK0 0x0400 |
#define | MCFG_TXQNOBK 0x0200 |
#define | MCFG_SNAPOPT 0x0100 |
#define | PMCC_DSI 0x80 |
#define | PMCC_D2_DIS 0x40 |
#define | PMCC_D1_DIS 0x20 |
#define | PMCC_D3C_EN 0x10 |
#define | PMCC_D3H_EN 0x08 |
#define | PMCC_D2_EN 0x04 |
#define | PMCC_D1_EN 0x02 |
#define | PMCC_D0_EN 0x01 |
#define | STICKHW_SWPTAG 0x10 |
#define | STICKHW_WOLSR 0x08 |
#define | STICKHW_WOLEN 0x04 |
#define | STICKHW_DS1 0x02 /* R/W by software/cfg cycle */ |
#define | STICKHW_DS0 0x01 /* suspend well DS write port */ |
#define | MIBCR_MIBISTOK 0x80 |
#define | MIBCR_MIBISTGO 0x40 |
#define | MIBCR_MIBINC 0x20 |
#define | MIBCR_MIBHI 0x10 |
#define | MIBCR_MIBFRZ 0x08 |
#define | MIBCR_MIBFLSH 0x04 |
#define | MIBCR_MPTRINI 0x02 |
#define | MIBCR_MIBCLR 0x01 |
#define | EERSV_BOOT_RPL ((u8) 0x01) /* Boot method selection for VT6110 */ |
#define | EERSV_BOOT_MASK ((u8) 0x06) |
#define | EERSV_BOOT_INT19 ((u8) 0x00) |
#define | EERSV_BOOT_INT18 ((u8) 0x02) |
#define | EERSV_BOOT_LOCAL ((u8) 0x04) |
#define | EERSV_BOOT_BEV ((u8) 0x06) |
#define | BPCMD_BPDNE 0x80 |
#define | BPCMD_EBPWR 0x02 |
#define | BPCMD_EBPRD 0x01 |
#define | EECSR_EMBP 0x40 /* eeprom embedded programming */ |
#define | EECSR_RELOAD 0x20 /* eeprom content reload */ |
#define | EECSR_DPM 0x10 /* eeprom direct programming */ |
#define | EECSR_ECS 0x08 /* eeprom CS pin */ |
#define | EECSR_ECK 0x04 /* eeprom CK pin */ |
#define | EECSR_EDI 0x02 /* eeprom DI pin */ |
#define | EECSR_EDO 0x01 /* eeprom DO pin */ |
#define | EMBCMD_EDONE 0x80 |
#define | EMBCMD_EWDIS 0x08 |
#define | EMBCMD_EWEN 0x04 |
#define | EMBCMD_EWR 0x02 |
#define | EMBCMD_ERD 0x01 |
#define | TESTCFG_HBDIS 0x80 |
#define | CHIPGCR_FCGMII 0x80 /* force GMII (else MII only) */ |
#define | CHIPGCR_FCFDX 0x40 /* force full duplex */ |
#define | CHIPGCR_FCRESV 0x20 |
#define | CHIPGCR_FCMODE 0x10 /* enable MAC forced mode */ |
#define | CHIPGCR_LPSOPT 0x08 |
#define | CHIPGCR_TM1US 0x04 |
#define | CHIPGCR_TM0US 0x02 |
#define | CHIPGCR_PHYINTEN 0x01 |
#define | WOLCR_MSWOLEN7 0x0080 /* enable pattern match filtering */ |
#define | WOLCR_MSWOLEN6 0x0040 |
#define | WOLCR_MSWOLEN5 0x0020 |
#define | WOLCR_MSWOLEN4 0x0010 |
#define | WOLCR_MSWOLEN3 0x0008 |
#define | WOLCR_MSWOLEN2 0x0004 |
#define | WOLCR_MSWOLEN1 0x0002 |
#define | WOLCR_MSWOLEN0 0x0001 |
#define | WOLCR_ARP_EN 0x0001 |
#define | WOLCR_LINKOFF_EN 0x0800 /* link off detected enable */ |
#define | WOLCR_LINKON_EN 0x0400 /* link on detected enable */ |
#define | WOLCR_MAGIC_EN 0x0200 /* magic packet filter enable */ |
#define | WOLCR_UNICAST_EN 0x0100 /* unicast filter enable */ |
#define | PWCFG_PHYPWOPT 0x80 /* internal MII I/F timing */ |
#define | PWCFG_PCISTICK 0x40 /* PCI sticky R/W enable */ |
#define | PWCFG_WOLTYPE 0x20 /* pulse(1) or button (0) */ |
#define | PWCFG_LEGCY_WOL 0x10 |
#define | PWCFG_PMCSR_PME_SR 0x08 |
#define | PWCFG_PMCSR_PME_EN 0x04 /* control by PCISTICK */ |
#define | PWCFG_LEGACY_WOLSR 0x02 /* Legacy WOL_SR shadow */ |
#define | PWCFG_LEGACY_WOLEN 0x01 /* Legacy WOL_EN shadow */ |
#define | WOLCFG_PMEOVR 0x80 /* for legacy use, force PMEEN always */ |
#define | WOLCFG_SAM 0x20 /* accept multicast case reset, default=0 */ |
#define | WOLCFG_SAB 0x10 /* accept broadcast case reset, default=0 */ |
#define | WOLCFG_SMIIACC 0x08 /* ?? */ |
#define | WOLCFG_SGENWH 0x02 |
#define | WOLCFG_PHYINTEN |
#define | WOLSR_LINKOFF_INT 0x0800 |
#define | WOLSR_LINKON_INT 0x0400 |
#define | WOLSR_MAGIC_INT 0x0200 |
#define | WOLSR_UNICAST_INT 0x0100 |
#define | PKT_TYPE_NONE 0x0000 /* Turn off receiver */ |
#define | PKT_TYPE_DIRECTED 0x0001 /* obselete, directed address is always accepted */ |
#define | PKT_TYPE_MULTICAST 0x0002 |
#define | PKT_TYPE_ALL_MULTICAST 0x0004 |
#define | PKT_TYPE_BROADCAST 0x0008 |
#define | PKT_TYPE_PROMISCUOUS 0x0020 |
#define | PKT_TYPE_LONG 0x2000 /* NOTE.... the definition of LONG is >2048 bytes in our chip */ |
#define | PKT_TYPE_RUNT 0x4000 |
#define | PKT_TYPE_ERROR 0x8000 /* Accept error packets, e.g. CRC error */ |
#define | MAC_LB_NONE 0x00 |
#define | MAC_LB_INTERNAL 0x01 |
#define | MAC_LB_EXTERNAL 0x02 |
#define | IMR_MASK_VALUE |
#define | REV_ID_VT3119_A0 0x00 |
#define | REV_ID_VT3119_A1 0x01 |
#define | REV_ID_VT3216_A0 0x10 |
#define | W_MAX_TIMEOUT 0x0FFFU |
#define | mac_hw_mibs_init(regs) |
#define | mac_read_isr(regs) readl(&((regs)->ISR)) |
#define | mac_write_isr(regs, x) writel((x),&((regs)->ISR)) |
#define | mac_clear_isr(regs) writel(0xffffffffL,&((regs)->ISR)) |
#define | mac_write_int_mask(mask, regs) writel((mask),&((regs)->IMR)); |
#define | mac_disable_int(regs) writel(CR0_GINTMSK1,&((regs)->CR0Clr)) |
#define | mac_enable_int(regs) writel(CR0_GINTMSK1,&((regs)->CR0Set)) |
#define | mac_set_dma_length(regs, n) |
#define | mac_set_rx_thresh(regs, n) |
#define | mac_rx_queue_run(regs) |
#define | mac_rx_queue_wake(regs) |
#define | mac_tx_queue_run(regs, n) |
#define | mac_tx_queue_wake(regs, n) |
#define | MII_REG_PSCR 0x10 |
#define | TCSR_ECHODIS 0x2000 |
#define | AUXCR_MDPPS 0x0004 |
#define | PLED_LALBE 0x0004 |
#define | PSCR_ACRSTX 0x0800 |
#define | PHYID_CICADA_CS8201 0x000FC410UL |
#define | PHYID_VT3216_32BIT 0x000FC610UL |
#define | PHYID_VT3216_64BIT 0x000FC600UL |
#define | PHYID_MARVELL_1000 0x01410C50UL |
#define | PHYID_MARVELL_1000S 0x01410C40UL |
#define | PHYID_REV_ID_MASK 0x0000000FUL |
#define | PHYID_GET_PHY_ID(i) ((i) & ~PHYID_REV_ID_MASK) |
#define | MII_REG_BITS_ON(x, i, p) |
#define | MII_REG_BITS_OFF(x, i, p) |
#define | MII_REG_BITS_IS_ON(x, i, p) |
#define | MII_GET_PHY_ID(p) |
#define | ASSERT(x) |
#define | VELOCITY_DBG(x) |
#define | VELOCITY_PRT(l, p, args...) do {if (l<=msglevel) printk( p ,##args);} while (0) |
#define | VELOCITY_PRT_CAMMASK(p, t) |
#define | VELOCITY_WOL_MAGIC 0x00000000UL |
#define | VELOCITY_WOL_PHY 0x00000001UL |
#define | VELOCITY_WOL_ARP 0x00000002UL |
#define | VELOCITY_WOL_UCAST 0x00000004UL |
#define | VELOCITY_WOL_BCAST 0x00000010UL |
#define | VELOCITY_WOL_MCAST 0x00000020UL |
#define | VELOCITY_WOL_MAGIC_SEC 0x00000040UL |
#define | VELOCITY_FLAGS_TAGGING 0x00000001UL |
#define | VELOCITY_FLAGS_RX_CSUM 0x00000004UL |
#define | VELOCITY_FLAGS_IP_ALIGN 0x00000008UL |
#define | VELOCITY_FLAGS_VAL_PKT_LEN 0x00000010UL |
#define | VELOCITY_FLAGS_FLOW_CTRL 0x01000000UL |
#define | VELOCITY_FLAGS_OPENED 0x00010000UL |
#define | VELOCITY_FLAGS_VMNS_CONNECTED 0x00020000UL |
#define | VELOCITY_FLAGS_VMNS_COMMITTED 0x00040000UL |
#define | VELOCITY_FLAGS_WOL_ENABLED 0x00080000UL |
#define | VELOCITY_LINK_FAIL 0x00000001UL |
#define | VELOCITY_SPEED_10 0x00000002UL |
#define | VELOCITY_SPEED_100 0x00000004UL |
#define | VELOCITY_SPEED_1000 0x00000008UL |
#define | VELOCITY_DUPLEX_FULL 0x00000010UL |
#define | VELOCITY_AUTONEG_ENABLE 0x00000020UL |
#define | VELOCITY_FORCED_BY_EEPROM 0x00000040UL |
#define | VELOCITY_LINK_CHANGE 0x00000001UL |
#define | AVAIL_TD(p, q) ((p)->options.numtx-((p)->tx.used[(q)])) |
#define | GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) |
Typedefs | |
typedef u8 | MCAM_ADDR [ETH_ALEN] |
Variables | |
struct rx_desc | __packed |
#define ASSERT | ( | x | ) |
Definition at line 1314 of file via-velocity.h.
#define AUXCR_MDPPS 0x0004 |
Definition at line 1248 of file via-velocity.h.
Definition at line 1425 of file via-velocity.h.
#define B_OWNED_BY_CHIP 1 |
Definition at line 67 of file via-velocity.h.
#define B_OWNED_BY_HOST 0 |
Definition at line 68 of file via-velocity.h.
#define BPCMD_BPDNE 0x80 |
Definition at line 815 of file via-velocity.h.
#define BPCMD_EBPRD 0x01 |
Definition at line 817 of file via-velocity.h.
#define BPCMD_EBPWR 0x02 |
Definition at line 816 of file via-velocity.h.
Definition at line 48 of file via-velocity.h.
Definition at line 52 of file via-velocity.h.
Definition at line 44 of file via-velocity.h.
Definition at line 56 of file via-velocity.h.
#define CAMADDR_CAMEN 0x80 |
Definition at line 615 of file via-velocity.h.
#define CAMADDR_VCAMSL 0x40 |
Definition at line 616 of file via-velocity.h.
#define CAMCR_AITR16 0x10 |
Definition at line 625 of file via-velocity.h.
#define CAMCR_AITRPKT 0x20 |
Definition at line 624 of file via-velocity.h.
#define CAMCR_CAMRD 0x08 |
Definition at line 626 of file via-velocity.h.
#define CAMCR_CAMWR 0x04 |
Definition at line 627 of file via-velocity.h.
#define CAMCR_PS0 0x40 |
Definition at line 623 of file via-velocity.h.
#define CAMCR_PS1 0x80 |
Definition at line 622 of file via-velocity.h.
#define CAMCR_PS_CAM_DATA 0x80 |
Definition at line 629 of file via-velocity.h.
#define CAMCR_PS_CAM_MASK 0x40 |
Definition at line 628 of file via-velocity.h.
#define CAMCR_PS_MAR 0x00 |
Definition at line 630 of file via-velocity.h.
#define CB_INIT_RD_NUM 128 |
Definition at line 155 of file via-velocity.h.
#define CB_INIT_RD_NUM_3119 128 |
Definition at line 152 of file via-velocity.h.
#define CB_INIT_TD_NUM 64 |
Definition at line 156 of file via-velocity.h.
#define CB_INIT_TD_NUM_3119 64 |
Definition at line 153 of file via-velocity.h.
#define CB_MAX_RD_NUM 512 |
Definition at line 149 of file via-velocity.h.
#define CB_MAX_SEG_PER_PKT 7 |
Definition at line 160 of file via-velocity.h.
#define CB_MAX_TD_NUM 256 |
Definition at line 150 of file via-velocity.h.
#define CB_MAX_TX_ABORT_RETRY 3 |
Definition at line 169 of file via-velocity.h.
#define CB_RX_BUF_SIZE 2048UL |
Definition at line 146 of file via-velocity.h.
#define CB_TD_RING_NUM 4 |
Definition at line 159 of file via-velocity.h.
#define CFGA_ABSHDN 0x02 |
Definition at line 689 of file via-velocity.h.
#define CFGA_GPIO1PD 0x04 |
Definition at line 688 of file via-velocity.h.
#define CFGA_PACPI 0x01 |
Definition at line 690 of file via-velocity.h.
#define CFGA_PMHCTG 0x08 |
Definition at line 687 of file via-velocity.h.
#define CFGB_BAKOPT 0x01 |
Definition at line 703 of file via-velocity.h.
#define CFGB_CAP 0x04 |
Definition at line 701 of file via-velocity.h.
#define CFGB_CRANDOM 0x08 |
Definition at line 700 of file via-velocity.h.
#define CFGB_CRSEOPT 0x20 |
Definition at line 698 of file via-velocity.h.
#define CFGB_GTCKOPT 0x80 |
Definition at line 696 of file via-velocity.h.
#define CFGB_MBA 0x02 |
Definition at line 702 of file via-velocity.h.
#define CFGB_MIIOPT 0x40 |
Definition at line 697 of file via-velocity.h.
#define CFGB_OFSET 0x10 |
Definition at line 699 of file via-velocity.h.
#define CFGC_BPS0 0x01 /* bootrom select[0] */ |
Definition at line 716 of file via-velocity.h.
#define CFGC_BPS1 0x02 /* bootrom select[1] */ |
Definition at line 715 of file via-velocity.h.
#define CFGC_BPS2 0x04 /* bootrom select[2] */ |
Definition at line 714 of file via-velocity.h.
#define CFGC_BROPT 0x40 |
Definition at line 710 of file via-velocity.h.
#define CFGC_BTSEL 0x08 |
Definition at line 713 of file via-velocity.h.
#define CFGC_DLYEN 0x20 |
Definition at line 711 of file via-velocity.h.
#define CFGC_DTSEL 0x10 |
Definition at line 712 of file via-velocity.h.
#define CFGC_EELOAD 0x80 |
Definition at line 709 of file via-velocity.h.
#define CFGD_CFGDACEN 0x20 |
Definition at line 724 of file via-velocity.h.
#define CFGD_HTMRL4 0x08 |
Definition at line 726 of file via-velocity.h.
#define CFGD_IODIS 0x80 |
Definition at line 722 of file via-velocity.h.
#define CFGD_MSLVDACEN 0x40 |
Definition at line 723 of file via-velocity.h.
#define CFGD_PCI64EN 0x10 |
Definition at line 725 of file via-velocity.h.
#define CHIPGCR_FCFDX 0x40 /* force full duplex */ |
Definition at line 852 of file via-velocity.h.
#define CHIPGCR_FCGMII 0x80 /* force GMII (else MII only) */ |
Definition at line 851 of file via-velocity.h.
#define CHIPGCR_FCMODE 0x10 /* enable MAC forced mode */ |
Definition at line 854 of file via-velocity.h.
#define CHIPGCR_FCRESV 0x20 |
Definition at line 853 of file via-velocity.h.
#define CHIPGCR_LPSOPT 0x08 |
Definition at line 855 of file via-velocity.h.
#define CHIPGCR_PHYINTEN 0x01 |
Definition at line 858 of file via-velocity.h.
#define CHIPGCR_TM0US 0x02 |
Definition at line 857 of file via-velocity.h.
#define CHIPGCR_TM1US 0x04 |
Definition at line 856 of file via-velocity.h.
#define CR0_DIAG 0x10000000UL |
Definition at line 449 of file via-velocity.h.
#define CR0_DISAU 0x00000100UL |
Definition at line 437 of file via-velocity.h.
#define CR0_DPOLL 0x00000800UL /* disable rx/tx auto polling */ |
Definition at line 436 of file via-velocity.h.
#define CR0_FDXRFCEN 0x00200000UL /* full-duplex RX flow control enable */ |
Definition at line 440 of file via-velocity.h.
#define CR0_FDXTFCEN 0x00400000UL /* full-duplex TX flow control enable */ |
Definition at line 439 of file via-velocity.h.
#define CR0_FORSRST 0x40000000UL |
Definition at line 447 of file via-velocity.h.
#define CR0_FPHYRST 0x20000000UL |
Definition at line 448 of file via-velocity.h.
#define CR0_GINTMSK0 0x01000000UL |
Definition at line 452 of file via-velocity.h.
#define CR0_GINTMSK1 0x02000000UL |
Definition at line 451 of file via-velocity.h.
#define CR0_GSPRST 0x80000000UL |
Definition at line 446 of file via-velocity.h.
#define CR0_HDXFCEN 0x00100000UL /* half-duplex flow control enable */ |
Definition at line 441 of file via-velocity.h.
#define CR0_INTPCTL 0x04000000UL |
Definition at line 450 of file via-velocity.h.
#define CR0_RXON 0x00000004UL |
Definition at line 430 of file via-velocity.h.
#define CR0_SFRST 0x00008000UL /* software reset */ |
Definition at line 433 of file via-velocity.h.
#define CR0_STOP 0x00000002UL /* stop MAC, default = 1 */ |
Definition at line 431 of file via-velocity.h.
#define CR0_STRT 0x00000001UL /* start MAC */ |
Definition at line 432 of file via-velocity.h.
#define CR0_TM0EN 0x00002000UL |
Definition at line 435 of file via-velocity.h.
#define CR0_TM1EN 0x00004000UL |
Definition at line 434 of file via-velocity.h.
#define CR0_TXON 0x00000008UL |
Definition at line 429 of file via-velocity.h.
#define CR0_XHITH0 0x00040000UL /* TX XON high threshold 0 */ |
Definition at line 443 of file via-velocity.h.
#define CR0_XHITH1 0x00080000UL /* TX XON high threshold 1 */ |
Definition at line 442 of file via-velocity.h.
#define CR0_XLTH0 0x00010000UL /* TX pause frame low threshold 0 */ |
Definition at line 445 of file via-velocity.h.
#define CR0_XLTH1 0x00020000UL /* TX pause frame low threshold 1 */ |
Definition at line 444 of file via-velocity.h.
#define CR0_XONEN 0x00800000UL |
Definition at line 438 of file via-velocity.h.
#define CR1_DISAU 0x01 |
Definition at line 462 of file via-velocity.h.
#define CR1_DPOLL 0x08 /* disable rx/tx auto polling */ |
Definition at line 461 of file via-velocity.h.
#define CR1_SFRST 0x80 /* software reset */ |
Definition at line 458 of file via-velocity.h.
#define CR1_TM0EN 0x20 |
Definition at line 460 of file via-velocity.h.
#define CR1_TM1EN 0x40 |
Definition at line 459 of file via-velocity.h.
#define CR2_FDXRFCEN 0x20 /* full-duplex RX flow control enable */ |
Definition at line 470 of file via-velocity.h.
#define CR2_FDXTFCEN 0x40 /* full-duplex TX flow control enable */ |
Definition at line 469 of file via-velocity.h.
#define CR2_HDXFCEN 0x10 /* half-duplex flow control enable */ |
Definition at line 471 of file via-velocity.h.
#define CR2_XHITH0 0x04 /* TX XON high threshold 0 */ |
Definition at line 473 of file via-velocity.h.
#define CR2_XHITH1 0x08 /* TX XON high threshold 1 */ |
Definition at line 472 of file via-velocity.h.
#define CR2_XLTH0 0x01 /* TX pause frame low threshold 0 */ |
Definition at line 475 of file via-velocity.h.
#define CR2_XLTH1 0x02 /* TX pause frame low threshold 1 */ |
Definition at line 474 of file via-velocity.h.
#define CR2_XONEN 0x80 |
Definition at line 468 of file via-velocity.h.
#define CR3_DIAG 0x10 |
Definition at line 484 of file via-velocity.h.
#define CR3_FORSRST 0x40 |
Definition at line 482 of file via-velocity.h.
#define CR3_FPHYRST 0x20 |
Definition at line 483 of file via-velocity.h.
#define CR3_GINTMSK0 0x01 |
Definition at line 487 of file via-velocity.h.
#define CR3_GINTMSK1 0x02 |
Definition at line 486 of file via-velocity.h.
#define CR3_GSPRST 0x80 |
Definition at line 481 of file via-velocity.h.
#define CR3_INTPCTL 0x04 |
Definition at line 485 of file via-velocity.h.
#define CSM_FRAG 0x10 |
Definition at line 102 of file via-velocity.h.
#define CSM_IPKT 0x04 |
Definition at line 103 of file via-velocity.h.
#define CSM_IPOK 0x40 |
Definition at line 100 of file via-velocity.h.
#define CSM_TCPKT 0x02 |
Definition at line 104 of file via-velocity.h.
#define CSM_TUPOK 0x20 |
Definition at line 101 of file via-velocity.h.
#define CSM_UDPKT 0x01 |
Definition at line 105 of file via-velocity.h.
#define DCFG_LATMEN 0x0100 |
Definition at line 738 of file via-velocity.h.
#define DCFG_MRWAIT 0x0400 |
Definition at line 736 of file via-velocity.h.
#define DCFG_MWWAIT 0x0200 |
Definition at line 737 of file via-velocity.h.
#define DCFG_PERDIS 0x1000 |
Definition at line 735 of file via-velocity.h.
#define DCFG_XMRL 0x2000 |
Definition at line 734 of file via-velocity.h.
#define DCFG_XMRM 0x4000 |
Definition at line 733 of file via-velocity.h.
#define DCFG_XMWI 0x8000 |
Definition at line 732 of file via-velocity.h.
Definition at line 50 of file via-velocity.h.
Definition at line 54 of file via-velocity.h.
Definition at line 46 of file via-velocity.h.
Definition at line 58 of file via-velocity.h.
#define EECSR_DPM 0x10 /* eeprom direct programming */ |
Definition at line 825 of file via-velocity.h.
#define EECSR_ECK 0x04 /* eeprom CK pin */ |
Definition at line 827 of file via-velocity.h.
#define EECSR_ECS 0x08 /* eeprom CS pin */ |
Definition at line 826 of file via-velocity.h.
#define EECSR_EDI 0x02 /* eeprom DI pin */ |
Definition at line 828 of file via-velocity.h.
#define EECSR_EDO 0x01 /* eeprom DO pin */ |
Definition at line 829 of file via-velocity.h.
#define EECSR_EMBP 0x40 /* eeprom embedded programming */ |
Definition at line 823 of file via-velocity.h.
#define EECSR_RELOAD 0x20 /* eeprom content reload */ |
Definition at line 824 of file via-velocity.h.
#define EERSV_BOOT_BEV ((u8) 0x06) |
Definition at line 808 of file via-velocity.h.
#define EERSV_BOOT_INT18 ((u8) 0x02) |
Definition at line 806 of file via-velocity.h.
#define EERSV_BOOT_INT19 ((u8) 0x00) |
Definition at line 805 of file via-velocity.h.
#define EERSV_BOOT_LOCAL ((u8) 0x04) |
Definition at line 807 of file via-velocity.h.
#define EERSV_BOOT_MASK ((u8) 0x06) |
Definition at line 804 of file via-velocity.h.
#define EERSV_BOOT_RPL ((u8) 0x01) /* Boot method selection for VT6110 */ |
Definition at line 802 of file via-velocity.h.
#define EMBCMD_EDONE 0x80 |
Definition at line 835 of file via-velocity.h.
#define EMBCMD_ERD 0x01 |
Definition at line 839 of file via-velocity.h.
#define EMBCMD_EWDIS 0x08 |
Definition at line 836 of file via-velocity.h.
#define EMBCMD_EWEN 0x04 |
Definition at line 837 of file via-velocity.h.
#define EMBCMD_EWR 0x02 |
Definition at line 838 of file via-velocity.h.
Definition at line 1427 of file via-velocity.h.
#define IMR_FLONIM 0x00000800UL |
Definition at line 581 of file via-velocity.h.
#define IMR_LSTEIM 0x00002000UL |
Definition at line 579 of file via-velocity.h.
#define IMR_LSTPEIM 0x00004000UL |
Definition at line 578 of file via-velocity.h.
#define IMR_MASK_VALUE |
Definition at line 947 of file via-velocity.h.
#define IMR_MIBFIM 0x00200000UL |
Definition at line 570 of file via-velocity.h.
#define IMR_OVFIM 0x00001000UL |
Definition at line 580 of file via-velocity.h.
#define IMR_PHYIM 0x00080000UL |
Definition at line 572 of file via-velocity.h.
#define IMR_PPRXIM 0x00000001UL |
Definition at line 593 of file via-velocity.h.
#define IMR_PPTXIM 0x00000002UL |
Definition at line 592 of file via-velocity.h.
#define IMR_PRXIM 0x00000004UL |
Definition at line 591 of file via-velocity.h.
#define IMR_PTX0IM 0x00000010UL |
Definition at line 589 of file via-velocity.h.
#define IMR_PTX1IM 0x00000020UL |
Definition at line 588 of file via-velocity.h.
#define IMR_PTX2IM 0x00000040UL |
Definition at line 587 of file via-velocity.h.
#define IMR_PTX3IM 0x00000080UL |
Definition at line 586 of file via-velocity.h.
#define IMR_PTXIM 0x00000008UL |
Definition at line 590 of file via-velocity.h.
#define IMR_PWEIM 0x00040000UL |
Definition at line 573 of file via-velocity.h.
#define IMR_RACEIM 0x00000400UL |
Definition at line 582 of file via-velocity.h.
#define IMR_SHDNIM 0x00100000UL |
Definition at line 571 of file via-velocity.h.
#define IMR_SRCIM 0x00008000UL |
Definition at line 577 of file via-velocity.h.
#define IMR_TMR0IM 0x00010000UL |
Definition at line 575 of file via-velocity.h.
#define IMR_TMR1IM 0x00020000UL |
Definition at line 574 of file via-velocity.h.
#define IMR_TXSTLM 0x02000000UL |
Definition at line 568 of file via-velocity.h.
#define IMR_TXWB0IM 0x00000100UL |
Definition at line 584 of file via-velocity.h.
#define IMR_TXWB1IM 0x00000200UL |
Definition at line 583 of file via-velocity.h.
#define IMR_UDPIM 0x00400000UL |
Definition at line 569 of file via-velocity.h.
#define INT_MASK_DEF |
Definition at line 597 of file via-velocity.h.
#define ISR_FLONI 0x00000800UL |
Definition at line 551 of file via-velocity.h.
#define ISR_HFLD 0x00800000UL |
Definition at line 539 of file via-velocity.h.
#define ISR_ISR0 0x10000000UL |
Definition at line 536 of file via-velocity.h.
#define ISR_ISR1 0x20000000UL |
Definition at line 535 of file via-velocity.h.
#define ISR_ISR2 0x40000000UL |
Definition at line 534 of file via-velocity.h.
#define ISR_ISR3 0x80000000UL |
Definition at line 533 of file via-velocity.h.
#define ISR_LSTEI 0x00002000UL |
Definition at line 549 of file via-velocity.h.
#define ISR_LSTPEI 0x00004000UL |
Definition at line 548 of file via-velocity.h.
#define ISR_MIBFI 0x00200000UL |
Definition at line 541 of file via-velocity.h.
#define ISR_OVFI 0x00001000UL |
Definition at line 550 of file via-velocity.h.
#define ISR_PHYI 0x00080000UL |
Definition at line 543 of file via-velocity.h.
#define ISR_PPRXI 0x00000001UL |
Definition at line 562 of file via-velocity.h.
#define ISR_PPTXI 0x00000002UL |
Definition at line 561 of file via-velocity.h.
#define ISR_PRXI 0x00000004UL |
Definition at line 560 of file via-velocity.h.
#define ISR_PTX0I 0x00000010UL |
Definition at line 558 of file via-velocity.h.
#define ISR_PTX1I 0x00000020UL |
Definition at line 557 of file via-velocity.h.
#define ISR_PTX2I 0x00000040UL |
Definition at line 556 of file via-velocity.h.
#define ISR_PTX3I 0x00000080UL |
Definition at line 555 of file via-velocity.h.
#define ISR_PTXI 0x00000008UL |
Definition at line 559 of file via-velocity.h.
#define ISR_PWEI 0x00040000UL |
Definition at line 544 of file via-velocity.h.
#define ISR_RACEI 0x00000400UL |
Definition at line 552 of file via-velocity.h.
#define ISR_RXSTLI 0x01000000UL |
Definition at line 538 of file via-velocity.h.
#define ISR_SHDNI 0x00100000UL |
Definition at line 542 of file via-velocity.h.
#define ISR_SRCI 0x00008000UL |
Definition at line 547 of file via-velocity.h.
#define ISR_TMR0I 0x00010000UL |
Definition at line 546 of file via-velocity.h.
#define ISR_TMR1I 0x00020000UL |
Definition at line 545 of file via-velocity.h.
#define ISR_TXSTLI 0x02000000UL |
Definition at line 537 of file via-velocity.h.
#define ISR_TXWB0I 0x00000100UL |
Definition at line 554 of file via-velocity.h.
#define ISR_TXWB1I 0x00000200UL |
Definition at line 553 of file via-velocity.h.
#define ISR_UDPI 0x00400000UL |
Definition at line 540 of file via-velocity.h.
#define ISRCTL1_HCRLD 0x02 |
Definition at line 508 of file via-velocity.h.
#define ISRCTL1_INTPD 0x04 |
Definition at line 507 of file via-velocity.h.
#define ISRCTL1_PMSK0 0x08 |
Definition at line 506 of file via-velocity.h.
#define ISRCTL1_PMSK1 0x10 |
Definition at line 505 of file via-velocity.h.
#define ISRCTL1_RSUPDIS 0x20 |
Definition at line 504 of file via-velocity.h.
#define ISRCTL1_SCRLD 0x01 |
Definition at line 509 of file via-velocity.h.
#define ISRCTL1_TSUPDIS 0x40 |
Definition at line 503 of file via-velocity.h.
#define ISRCTL1_UDPINT 0x80 |
Definition at line 502 of file via-velocity.h.
#define ISRCTL_HCRLD 0x0200 |
Definition at line 495 of file via-velocity.h.
#define ISRCTL_INTPD 0x0400 |
Definition at line 494 of file via-velocity.h.
#define ISRCTL_PMSK0 0x0800 |
Definition at line 493 of file via-velocity.h.
#define ISRCTL_PMSK1 0x1000 |
Definition at line 492 of file via-velocity.h.
#define ISRCTL_RSUPDIS 0x2000 |
Definition at line 491 of file via-velocity.h.
#define ISRCTL_SCRLD 0x0100 |
Definition at line 496 of file via-velocity.h.
#define ISRCTL_TSUPDIS 0x4000 |
Definition at line 490 of file via-velocity.h.
#define ISRCTL_UDPINT 0x8000 |
Definition at line 489 of file via-velocity.h.
Definition at line 1152 of file via-velocity.h.
#define mac_disable_int | ( | regs | ) | writel(CR0_GINTMSK1,&((regs)->CR0Clr)) |
Definition at line 1155 of file via-velocity.h.
#define mac_enable_int | ( | regs | ) | writel(CR0_GINTMSK1,&((regs)->CR0Set)) |
Definition at line 1156 of file via-velocity.h.
#define mac_hw_mibs_init | ( | regs | ) |
Definition at line 1142 of file via-velocity.h.
#define MAC_LB_EXTERNAL 0x02 |
Definition at line 936 of file via-velocity.h.
#define MAC_LB_INTERNAL 0x01 |
Definition at line 935 of file via-velocity.h.
#define MAC_LB_NONE 0x00 |
Definition at line 934 of file via-velocity.h.
#define MAC_REG_BPCMD 0x90 |
Definition at line 350 of file via-velocity.h.
#define MAC_REG_BPMA 0x8C |
Definition at line 347 of file via-velocity.h.
#define MAC_REG_BPMD_RD 0x91 |
Definition at line 351 of file via-velocity.h.
#define MAC_REG_BPMD_WR 0x8F |
Definition at line 349 of file via-velocity.h.
#define MAC_REG_BYTEMSK0_0 0xC0 |
Definition at line 385 of file via-velocity.h.
#define MAC_REG_BYTEMSK0_1 0xC4 |
Definition at line 386 of file via-velocity.h.
#define MAC_REG_BYTEMSK0_2 0xC8 |
Definition at line 387 of file via-velocity.h.
#define MAC_REG_BYTEMSK0_3 0xCC |
Definition at line 388 of file via-velocity.h.
#define MAC_REG_BYTEMSK1_0 0xD0 |
Definition at line 389 of file via-velocity.h.
#define MAC_REG_BYTEMSK1_1 0xD4 |
Definition at line 390 of file via-velocity.h.
#define MAC_REG_BYTEMSK1_2 0xD8 |
Definition at line 391 of file via-velocity.h.
#define MAC_REG_BYTEMSK1_3 0xDC |
Definition at line 392 of file via-velocity.h.
#define MAC_REG_BYTEMSK2_0 0xE0 |
Definition at line 393 of file via-velocity.h.
#define MAC_REG_BYTEMSK2_1 0xE4 |
Definition at line 394 of file via-velocity.h.
#define MAC_REG_BYTEMSK2_2 0xE8 |
Definition at line 395 of file via-velocity.h.
#define MAC_REG_BYTEMSK2_3 0xEC |
Definition at line 396 of file via-velocity.h.
#define MAC_REG_BYTEMSK3_0 0xF0 |
Definition at line 397 of file via-velocity.h.
#define MAC_REG_BYTEMSK3_1 0xF4 |
Definition at line 398 of file via-velocity.h.
#define MAC_REG_BYTEMSK3_2 0xF8 |
Definition at line 399 of file via-velocity.h.
#define MAC_REG_BYTEMSK3_3 0xFC |
Definition at line 400 of file via-velocity.h.
#define MAC_REG_CAM 0x10 |
Definition at line 279 of file via-velocity.h.
#define MAC_REG_CAMADDR 0x68 |
Definition at line 317 of file via-velocity.h.
#define MAC_REG_CAMCR 0x69 |
Definition at line 318 of file via-velocity.h.
#define MAC_REG_CFGA 0x78 |
Definition at line 330 of file via-velocity.h.
#define MAC_REG_CFGB 0x79 |
Definition at line 331 of file via-velocity.h.
#define MAC_REG_CFGC 0x7A |
Definition at line 332 of file via-velocity.h.
#define MAC_REG_CFGD 0x7B |
Definition at line 333 of file via-velocity.h.
#define MAC_REG_CHIPGCR 0x9F /* Chip Operation and Diagnostic Control */ |
Definition at line 364 of file via-velocity.h.
#define MAC_REG_CHIPGSR 0x9C |
Definition at line 361 of file via-velocity.h.
#define MAC_REG_CR0_CLR 0x0C |
Definition at line 274 of file via-velocity.h.
#define MAC_REG_CR0_SET 0x08 |
Definition at line 270 of file via-velocity.h.
#define MAC_REG_CR1_CLR 0x0D |
Definition at line 275 of file via-velocity.h.
#define MAC_REG_CR1_SET 0x09 |
Definition at line 271 of file via-velocity.h.
#define MAC_REG_CR2_CLR 0x0E |
Definition at line 276 of file via-velocity.h.
#define MAC_REG_CR2_SET 0x0A |
Definition at line 272 of file via-velocity.h.
#define MAC_REG_CR3_CLR 0x0F |
Definition at line 277 of file via-velocity.h.
#define MAC_REG_CR3_SET 0x0B |
Definition at line 273 of file via-velocity.h.
#define MAC_REG_DBF_BASE_HI 0x1C |
Definition at line 281 of file via-velocity.h.
#define MAC_REG_DCFG0 0x7C |
Definition at line 334 of file via-velocity.h.
#define MAC_REG_DCFG1 0x7D |
Definition at line 335 of file via-velocity.h.
#define MAC_REG_DEBUG 0x9E |
Definition at line 363 of file via-velocity.h.
#define MAC_REG_DEC_BASE_HI 0x18 |
Definition at line 280 of file via-velocity.h.
#define MAC_REG_EADDR 0x96 |
Definition at line 355 of file via-velocity.h.
#define MAC_REG_EECHKSUM 0x92 |
Definition at line 352 of file via-velocity.h.
#define MAC_REG_EECSR 0x93 |
Definition at line 353 of file via-velocity.h.
#define MAC_REG_EERD_DATA 0x94 |
Definition at line 354 of file via-velocity.h.
#define MAC_REG_EERSV 0x85 |
Definition at line 344 of file via-velocity.h.
#define MAC_REG_EEWR_DATA 0x8C |
Definition at line 348 of file via-velocity.h.
#define MAC_REG_EMBCMD 0x97 |
Definition at line 356 of file via-velocity.h.
#define MAC_REG_FIFO_TEST0 0x60 |
Definition at line 315 of file via-velocity.h.
#define MAC_REG_FIFO_TEST1 0x64 |
Definition at line 316 of file via-velocity.h.
#define MAC_REG_FTSTCMD 0x6B |
Definition at line 320 of file via-velocity.h.
#define MAC_REG_GFTEST 0x6A |
Definition at line 319 of file via-velocity.h.
#define MAC_REG_IMR 0x28 |
Definition at line 294 of file via-velocity.h.
#define MAC_REG_IMR0 0x28 |
Definition at line 295 of file via-velocity.h.
#define MAC_REG_IMR1 0x29 |
Definition at line 296 of file via-velocity.h.
#define MAC_REG_IMR2 0x2A |
Definition at line 297 of file via-velocity.h.
#define MAC_REG_IMR3 0x2B |
Definition at line 298 of file via-velocity.h.
#define MAC_REG_ISR 0x24 |
Definition at line 289 of file via-velocity.h.
#define MAC_REG_ISR0 0x24 |
Definition at line 290 of file via-velocity.h.
#define MAC_REG_ISR1 0x25 |
Definition at line 291 of file via-velocity.h.
#define MAC_REG_ISR2 0x26 |
Definition at line 292 of file via-velocity.h.
#define MAC_REG_ISR3 0x27 |
Definition at line 293 of file via-velocity.h.
#define MAC_REG_ISR_CTL 0x20 |
Definition at line 282 of file via-velocity.h.
#define MAC_REG_ISR_CTL1 0x21 |
Definition at line 286 of file via-velocity.h.
#define MAC_REG_ISR_HOTMR 0x20 |
Definition at line 283 of file via-velocity.h.
#define MAC_REG_ISR_RSUPTHR 0x20 |
Definition at line 285 of file via-velocity.h.
#define MAC_REG_ISR_TSUPTHR 0x20 |
Definition at line 284 of file via-velocity.h.
#define MAC_REG_JMPSR0 0x98 |
Definition at line 357 of file via-velocity.h.
#define MAC_REG_JMPSR1 0x99 |
Definition at line 358 of file via-velocity.h.
#define MAC_REG_JMPSR2 0x9A |
Definition at line 359 of file via-velocity.h.
#define MAC_REG_JMPSR3 0x9B |
Definition at line 360 of file via-velocity.h.
#define MAC_REG_MAR 0x10 |
Definition at line 278 of file via-velocity.h.
#define MAC_REG_MCFG0 0x7E |
Definition at line 336 of file via-velocity.h.
#define MAC_REG_MCFG1 0x7F |
Definition at line 337 of file via-velocity.h.
#define MAC_REG_MIBCR 0x84 |
Definition at line 343 of file via-velocity.h.
#define MAC_REG_MIBREAD 0x88 |
Definition at line 346 of file via-velocity.h.
#define MAC_REG_MIIADR 0x71 |
Definition at line 326 of file via-velocity.h.
#define MAC_REG_MIICFG 0x6C |
Definition at line 321 of file via-velocity.h.
#define MAC_REG_MIICR 0x70 |
Definition at line 325 of file via-velocity.h.
#define MAC_REG_MIIDATA 0x72 |
Definition at line 327 of file via-velocity.h.
#define MAC_REG_MIISR 0x6D |
Definition at line 322 of file via-velocity.h.
#define MAC_REG_PAR 0x00 |
Definition at line 267 of file via-velocity.h.
#define MAC_REG_PATRN_CRC0 0xB0 |
Definition at line 377 of file via-velocity.h.
#define MAC_REG_PATRN_CRC1 0xB2 |
Definition at line 378 of file via-velocity.h.
#define MAC_REG_PATRN_CRC2 0xB4 |
Definition at line 379 of file via-velocity.h.
#define MAC_REG_PATRN_CRC3 0xB6 |
Definition at line 380 of file via-velocity.h.
#define MAC_REG_PATRN_CRC4 0xB8 |
Definition at line 381 of file via-velocity.h.
#define MAC_REG_PATRN_CRC5 0xBA |
Definition at line 382 of file via-velocity.h.
#define MAC_REG_PATRN_CRC6 0xBC |
Definition at line 383 of file via-velocity.h.
#define MAC_REG_PATRN_CRC7 0xBE |
Definition at line 384 of file via-velocity.h.
#define MAC_REG_PAUSE_TIMER 0x5C |
Definition at line 313 of file via-velocity.h.
#define MAC_REG_PHYSR0 0x6E |
Definition at line 323 of file via-velocity.h.
#define MAC_REG_PHYSR1 0x6F |
Definition at line 324 of file via-velocity.h.
#define MAC_REG_PMCC 0x82 |
Definition at line 341 of file via-velocity.h.
#define MAC_REG_PWCFG_CLR 0xA6 |
Definition at line 371 of file via-velocity.h.
#define MAC_REG_PWCFG_SET 0xA2 |
Definition at line 367 of file via-velocity.h.
#define MAC_REG_RBIST 0x81 |
Definition at line 340 of file via-velocity.h.
#define MAC_REG_RBRDU 0x5E |
Definition at line 314 of file via-velocity.h.
#define MAC_REG_RCR 0x06 |
Definition at line 268 of file via-velocity.h.
#define MAC_REG_RDBASE_LO 0x38 |
Definition at line 303 of file via-velocity.h.
#define MAC_REG_RDCSIZE 0x50 |
Definition at line 306 of file via-velocity.h.
#define MAC_REG_RDCSR_CLR 0x36 |
Definition at line 302 of file via-velocity.h.
#define MAC_REG_RDCSR_SET 0x32 |
Definition at line 300 of file via-velocity.h.
#define MAC_REG_RDINDX 0x3C |
Definition at line 304 of file via-velocity.h.
#define MAC_REG_REVID 0x86 |
Definition at line 345 of file via-velocity.h.
#define MAC_REG_RXE_SR 0x23 |
Definition at line 288 of file via-velocity.h.
#define MAC_REG_SOFT_TIMER0 0x74 |
Definition at line 328 of file via-velocity.h.
#define MAC_REG_SOFT_TIMER1 0x76 |
Definition at line 329 of file via-velocity.h.
#define MAC_REG_STICKHW 0x83 |
Definition at line 342 of file via-velocity.h.
#define MAC_REG_TBIST 0x80 |
Definition at line 339 of file via-velocity.h.
#define MAC_REG_TCR 0x07 |
Definition at line 269 of file via-velocity.h.
#define MAC_REG_TDBASE_LO 0x40 |
Definition at line 305 of file via-velocity.h.
#define MAC_REG_TDCSIZE 0x52 |
Definition at line 307 of file via-velocity.h.
#define MAC_REG_TDCSR_CLR 0x34 |
Definition at line 301 of file via-velocity.h.
#define MAC_REG_TDCSR_SET 0x30 |
Definition at line 299 of file via-velocity.h.
#define MAC_REG_TDIDX0 0x54 |
Definition at line 309 of file via-velocity.h.
#define MAC_REG_TDIDX1 0x56 |
Definition at line 310 of file via-velocity.h.
#define MAC_REG_TDIDX2 0x58 |
Definition at line 311 of file via-velocity.h.
#define MAC_REG_TDIDX3 0x5A |
Definition at line 312 of file via-velocity.h.
#define MAC_REG_TDINDX 0x54 |
Definition at line 308 of file via-velocity.h.
#define MAC_REG_TESTCFG 0x9D |
Definition at line 362 of file via-velocity.h.
#define MAC_REG_TXE_SR 0x22 |
Definition at line 287 of file via-velocity.h.
#define MAC_REG_WOLCFG_CLR 0xA7 |
Definition at line 372 of file via-velocity.h.
#define MAC_REG_WOLCFG_SET 0xA3 |
Definition at line 368 of file via-velocity.h.
#define MAC_REG_WOLCR0_CLR 0xA4 |
Definition at line 369 of file via-velocity.h.
#define MAC_REG_WOLCR0_SET 0xA0 |
Definition at line 365 of file via-velocity.h.
#define MAC_REG_WOLCR1_CLR 0xA5 |
Definition at line 370 of file via-velocity.h.
#define MAC_REG_WOLCR1_SET 0xA1 |
Definition at line 366 of file via-velocity.h.
#define MAC_REG_WOLSR0_CLR 0xAC |
Definition at line 375 of file via-velocity.h.
#define MAC_REG_WOLSR0_SET 0xA8 |
Definition at line 373 of file via-velocity.h.
#define MAC_REG_WOLSR1_CLR 0xAD |
Definition at line 376 of file via-velocity.h.
#define MAC_REG_WOLSR1_SET 0xA9 |
Definition at line 374 of file via-velocity.h.
#define mac_rx_queue_run | ( | regs | ) |
Definition at line 1166 of file via-velocity.h.
#define mac_rx_queue_wake | ( | regs | ) |
Definition at line 1170 of file via-velocity.h.
Definition at line 1158 of file via-velocity.h.
Definition at line 1174 of file via-velocity.h.
Definition at line 1178 of file via-velocity.h.
Definition at line 1154 of file via-velocity.h.
Definition at line 1151 of file via-velocity.h.
#define MAX_HW_MIB_COUNTER 32 |
Definition at line 259 of file via-velocity.h.
#define MAX_UNITS 8 |
Definition at line 39 of file via-velocity.h.
#define MCAM_SIZE 64 |
Definition at line 255 of file via-velocity.h.
#define MCFG_LOWTHOPT 0x0008 |
Definition at line 747 of file via-velocity.h.
#define MCFG_PQEN 0x0004 |
Definition at line 748 of file via-velocity.h.
#define MCFG_RFT0 0x0010 |
Definition at line 746 of file via-velocity.h.
#define MCFG_RFT1 0x0020 |
Definition at line 745 of file via-velocity.h.
#define MCFG_RTGOPT 0x0002 |
Definition at line 749 of file via-velocity.h.
#define MCFG_RXARB 0x0080 |
Definition at line 744 of file via-velocity.h.
#define MCFG_SNAPOPT 0x0100 |
Definition at line 760 of file via-velocity.h.
#define MCFG_TXARB 0x8000 |
Definition at line 756 of file via-velocity.h.
#define MCFG_TXQBK0 0x0400 |
Definition at line 758 of file via-velocity.h.
#define MCFG_TXQBK1 0x0800 |
Definition at line 757 of file via-velocity.h.
#define MCFG_TXQNOBK 0x0200 |
Definition at line 759 of file via-velocity.h.
#define MCFG_VIDFR 0x0001 |
Definition at line 750 of file via-velocity.h.
#define MIBCR_MIBCLR 0x01 |
Definition at line 796 of file via-velocity.h.
#define MIBCR_MIBFLSH 0x04 |
Definition at line 794 of file via-velocity.h.
#define MIBCR_MIBFRZ 0x08 |
Definition at line 793 of file via-velocity.h.
#define MIBCR_MIBHI 0x10 |
Definition at line 792 of file via-velocity.h.
#define MIBCR_MIBINC 0x20 |
Definition at line 791 of file via-velocity.h.
#define MIBCR_MIBISTGO 0x40 |
Definition at line 790 of file via-velocity.h.
#define MIBCR_MIBISTOK 0x80 |
Definition at line 789 of file via-velocity.h.
#define MIBCR_MPTRINI 0x02 |
Definition at line 795 of file via-velocity.h.
#define MII_GET_PHY_ID | ( | p | ) |
Definition at line 1285 of file via-velocity.h.
#define MII_REG_PSCR 0x10 |
Definition at line 1241 of file via-velocity.h.
#define MIIADR_SWMPL 0x80 |
Definition at line 681 of file via-velocity.h.
#define MIICFG_MFDC 0x20 |
Definition at line 638 of file via-velocity.h.
#define MIICFG_MPO0 0x40 |
Definition at line 637 of file via-velocity.h.
#define MIICFG_MPO1 0x80 |
Definition at line 636 of file via-velocity.h.
#define MIICR_MAUTO 0x80 |
Definition at line 668 of file via-velocity.h.
#define MIICR_MDC 0x01 |
Definition at line 675 of file via-velocity.h.
#define MIICR_MDI 0x02 |
Definition at line 674 of file via-velocity.h.
#define MIICR_MDO 0x04 |
Definition at line 673 of file via-velocity.h.
#define MIICR_MDPM 0x10 |
Definition at line 671 of file via-velocity.h.
#define MIICR_MOUT 0x08 |
Definition at line 672 of file via-velocity.h.
#define MIICR_RCMD 0x40 |
Definition at line 669 of file via-velocity.h.
#define MIICR_WCMD 0x20 |
Definition at line 670 of file via-velocity.h.
#define MIISR_MIDLE 0x80 |
Definition at line 644 of file via-velocity.h.
#define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1} |
Definition at line 40 of file via-velocity.h.
#define PHYID_CICADA_CS8201 0x000FC410UL |
Definition at line 1256 of file via-velocity.h.
#define PHYID_GET_PHY_ID | ( | i | ) | ((i) & ~PHYID_REV_ID_MASK) |
Definition at line 1264 of file via-velocity.h.
#define PHYID_MARVELL_1000 0x01410C50UL |
Definition at line 1259 of file via-velocity.h.
#define PHYID_MARVELL_1000S 0x01410C40UL |
Definition at line 1260 of file via-velocity.h.
#define PHYID_REV_ID_MASK 0x0000000FUL |
Definition at line 1262 of file via-velocity.h.
#define PHYID_VT3216_32BIT 0x000FC610UL |
Definition at line 1257 of file via-velocity.h.
#define PHYID_VT3216_64BIT 0x000FC600UL |
Definition at line 1258 of file via-velocity.h.
#define PHYSR0_FDPX 0x10 |
Definition at line 652 of file via-velocity.h.
#define PHYSR0_LINKGD 0x40 |
Definition at line 651 of file via-velocity.h.
#define PHYSR0_PHYRST 0x80 |
Definition at line 650 of file via-velocity.h.
#define PHYSR0_RXFLC 0x02 |
Definition at line 655 of file via-velocity.h.
#define PHYSR0_SPD10 0x04 |
Definition at line 654 of file via-velocity.h.
#define PHYSR0_SPDG 0x08 |
Definition at line 653 of file via-velocity.h.
#define PHYSR0_TXFLC 0x01 |
Definition at line 656 of file via-velocity.h.
#define PHYSR1_PHYTBI 0x01 |
Definition at line 662 of file via-velocity.h.
#define PKT_BUF_SZ 1540 |
Definition at line 37 of file via-velocity.h.
#define PKT_TYPE_ALL_MULTICAST 0x0004 |
Definition at line 923 of file via-velocity.h.
#define PKT_TYPE_BROADCAST 0x0008 |
Definition at line 924 of file via-velocity.h.
#define PKT_TYPE_DIRECTED 0x0001 /* obselete, directed address is always accepted */ |
Definition at line 921 of file via-velocity.h.
#define PKT_TYPE_ERROR 0x8000 /* Accept error packets, e.g. CRC error */ |
Definition at line 928 of file via-velocity.h.
#define PKT_TYPE_LONG 0x2000 /* NOTE.... the definition of LONG is >2048 bytes in our chip */ |
Definition at line 926 of file via-velocity.h.
#define PKT_TYPE_MULTICAST 0x0002 |
Definition at line 922 of file via-velocity.h.
#define PKT_TYPE_NONE 0x0000 /* Turn off receiver */ |
Definition at line 920 of file via-velocity.h.
#define PKT_TYPE_PROMISCUOUS 0x0020 |
Definition at line 925 of file via-velocity.h.
#define PKT_TYPE_RUNT 0x4000 |
Definition at line 927 of file via-velocity.h.
#define PLED_LALBE 0x0004 |
Definition at line 1251 of file via-velocity.h.
#define PMCC_D0_EN 0x01 |
Definition at line 773 of file via-velocity.h.
#define PMCC_D1_DIS 0x20 |
Definition at line 768 of file via-velocity.h.
#define PMCC_D1_EN 0x02 |
Definition at line 772 of file via-velocity.h.
#define PMCC_D2_DIS 0x40 |
Definition at line 767 of file via-velocity.h.
#define PMCC_D2_EN 0x04 |
Definition at line 771 of file via-velocity.h.
#define PMCC_D3C_EN 0x10 |
Definition at line 769 of file via-velocity.h.
#define PMCC_D3H_EN 0x08 |
Definition at line 770 of file via-velocity.h.
#define PMCC_DSI 0x80 |
Definition at line 766 of file via-velocity.h.
#define PSCR_ACRSTX 0x0800 |
Definition at line 1254 of file via-velocity.h.
#define PWCFG_LEGACY_WOLEN 0x01 /* Legacy WOL_EN shadow */ |
Definition at line 895 of file via-velocity.h.
#define PWCFG_LEGACY_WOLSR 0x02 /* Legacy WOL_SR shadow */ |
Definition at line 894 of file via-velocity.h.
#define PWCFG_LEGCY_WOL 0x10 |
Definition at line 891 of file via-velocity.h.
#define PWCFG_PCISTICK 0x40 /* PCI sticky R/W enable */ |
Definition at line 889 of file via-velocity.h.
#define PWCFG_PHYPWOPT 0x80 /* internal MII I/F timing */ |
Definition at line 888 of file via-velocity.h.
#define PWCFG_PMCSR_PME_EN 0x04 /* control by PCISTICK */ |
Definition at line 893 of file via-velocity.h.
#define PWCFG_PMCSR_PME_SR 0x08 |
Definition at line 892 of file via-velocity.h.
#define PWCFG_WOLTYPE 0x20 /* pulse(1) or button (0) */ |
Definition at line 890 of file via-velocity.h.
#define RCR_AB 0x08 |
Definition at line 410 of file via-velocity.h.
#define RCR_AL 0x20 |
Definition at line 408 of file via-velocity.h.
#define RCR_AM 0x04 |
Definition at line 411 of file via-velocity.h.
#define RCR_AP 0x40 |
Definition at line 407 of file via-velocity.h.
#define RCR_AR 0x02 |
Definition at line 412 of file via-velocity.h.
#define RCR_AS 0x80 |
Definition at line 406 of file via-velocity.h.
#define RCR_PROM 0x10 |
Definition at line 409 of file via-velocity.h.
#define RCR_SEP 0x01 |
Definition at line 413 of file via-velocity.h.
#define REV_ID_VT3119_A0 0x00 |
Definition at line 954 of file via-velocity.h.
#define REV_ID_VT3119_A1 0x01 |
Definition at line 955 of file via-velocity.h.
#define REV_ID_VT3216_A0 0x10 |
Definition at line 956 of file via-velocity.h.
#define REV_ID_VT6110 (0) |
Definition at line 42 of file via-velocity.h.
#define RSR_BAR cpu_to_le16(0x1000) |
Definition at line 90 of file via-velocity.h.
#define RSR_CE cpu_to_le16(0x0008) |
Definition at line 78 of file via-velocity.h.
#define RSR_CRC cpu_to_le16(0x0002) |
Definition at line 80 of file via-velocity.h.
#define RSR_DETAG cpu_to_le16(0x0080) |
Definition at line 74 of file via-velocity.h.
#define RSR_EDP cpu_to_le16(0x0100) |
Definition at line 94 of file via-velocity.h.
#define RSR_FAE cpu_to_le16(0x0004) |
Definition at line 79 of file via-velocity.h.
#define RSR_MAR cpu_to_le16(0x2000) |
Definition at line 89 of file via-velocity.h.
#define RSR_PFT cpu_to_le16(0x4000) |
Definition at line 88 of file via-velocity.h.
#define RSR_PHY cpu_to_le16(0x0800) |
Definition at line 91 of file via-velocity.h.
#define RSR_RL cpu_to_le16(0x0010) |
Definition at line 77 of file via-velocity.h.
#define RSR_RXER cpu_to_le16(0x0020) |
Definition at line 76 of file via-velocity.h.
#define RSR_RXOK cpu_to_le16(0x8000) |
Definition at line 87 of file via-velocity.h.
#define RSR_SNTAG cpu_to_le16(0x0040) |
Definition at line 75 of file via-velocity.h.
#define RSR_STP cpu_to_le16(0x0200) |
Definition at line 93 of file via-velocity.h.
#define RSR_VIDM cpu_to_le16(0x0001) |
Definition at line 81 of file via-velocity.h.
#define RSR_VTAG cpu_to_le16(0x0400) |
Definition at line 92 of file via-velocity.h.
#define RXESR_RDRBS 0x02 |
Definition at line 526 of file via-velocity.h.
#define RXESR_RDSTR 0x01 |
Definition at line 527 of file via-velocity.h.
#define RXESR_RDWBS 0x04 |
Definition at line 525 of file via-velocity.h.
#define RXESR_RFDBS 0x08 |
Definition at line 524 of file via-velocity.h.
#define STICKHW_DS0 0x01 /* suspend well DS write port */ |
Definition at line 783 of file via-velocity.h.
#define STICKHW_DS1 0x02 /* R/W by software/cfg cycle */ |
Definition at line 782 of file via-velocity.h.
#define STICKHW_SWPTAG 0x10 |
Definition at line 779 of file via-velocity.h.
#define STICKHW_WOLEN 0x04 |
Definition at line 781 of file via-velocity.h.
#define STICKHW_WOLSR 0x08 |
Definition at line 780 of file via-velocity.h.
#define TCPLS_END 1 |
Definition at line 141 of file via-velocity.h.
#define TCPLS_MED 0 |
Definition at line 142 of file via-velocity.h.
#define TCPLS_NORMAL 3 |
Definition at line 139 of file via-velocity.h.
#define TCPLS_START 2 |
Definition at line 140 of file via-velocity.h.
#define TCR0_CRC 0x01 |
Definition at line 137 of file via-velocity.h.
#define TCR0_IPCK 0x10 |
Definition at line 133 of file via-velocity.h.
#define TCR0_JMBO 0x02 |
Definition at line 136 of file via-velocity.h.
#define TCR0_PIC 0x40 |
Definition at line 131 of file via-velocity.h.
#define TCR0_TCPCK 0x04 |
Definition at line 135 of file via-velocity.h.
#define TCR0_TIC 0x80 |
Definition at line 130 of file via-velocity.h.
#define TCR0_UDPCK 0x08 |
Definition at line 134 of file via-velocity.h.
#define TCR0_VETAG 0x20 |
Definition at line 132 of file via-velocity.h.
#define TCR_COLTMC0 0x04 |
Definition at line 421 of file via-velocity.h.
#define TCR_COLTMC1 0x08 |
Definition at line 420 of file via-velocity.h.
#define TCR_LB0 0x01 /* loopback[0] */ |
Definition at line 423 of file via-velocity.h.
#define TCR_LB1 0x02 /* loopback[1] */ |
Definition at line 422 of file via-velocity.h.
#define TCR_TB2BDIS 0x80 |
Definition at line 419 of file via-velocity.h.
#define TCSR_ECHODIS 0x2000 |
Definition at line 1247 of file via-velocity.h.
#define TESTCFG_HBDIS 0x80 |
Definition at line 845 of file via-velocity.h.
#define TRDCSR_ACT 0x0002 |
Definition at line 608 of file via-velocity.h.
#define TRDCSR_DEAD 0x0008 |
Definition at line 606 of file via-velocity.h.
#define TRDCSR_RUN 0x0001 |
Definition at line 609 of file via-velocity.h.
#define TRDCSR_WAK 0x0004 |
Definition at line 607 of file via-velocity.h.
#define TSR0_ABT cpu_to_le16(0x0080) |
Definition at line 111 of file via-velocity.h.
#define TSR0_CDH cpu_to_le16(0x0100) |
Definition at line 125 of file via-velocity.h.
#define TSR0_COLS cpu_to_le16(0x0010) |
Definition at line 114 of file via-velocity.h.
#define TSR0_CRS cpu_to_le16(0x0200) |
Definition at line 124 of file via-velocity.h.
#define TSR0_FDX cpu_to_le16(0x4000) |
Definition at line 120 of file via-velocity.h.
#define TSR0_GMII cpu_to_le16(0x2000) |
Definition at line 121 of file via-velocity.h.
#define TSR0_LNKFL cpu_to_le16(0x1000) |
Definition at line 122 of file via-velocity.h.
#define TSR0_NCR0 cpu_to_le16(0x0001) |
Definition at line 118 of file via-velocity.h.
#define TSR0_NCR1 cpu_to_le16(0x0002) |
Definition at line 117 of file via-velocity.h.
#define TSR0_NCR2 cpu_to_le16(0x0004) |
Definition at line 116 of file via-velocity.h.
#define TSR0_NCR3 cpu_to_le16(0x0008) |
Definition at line 115 of file via-velocity.h.
#define TSR0_OWC cpu_to_le16(0x0020) |
Definition at line 113 of file via-velocity.h.
#define TSR0_OWT cpu_to_le16(0x0040) |
Definition at line 112 of file via-velocity.h.
#define TSR0_SHDN cpu_to_le16(0x0400) |
Definition at line 123 of file via-velocity.h.
#define TSR0_TERR cpu_to_le16(0x8000) |
Definition at line 119 of file via-velocity.h.
#define TX_QUEUE_NO 4 |
Definition at line 257 of file via-velocity.h.
#define TXESR_TDRBS 0x02 |
Definition at line 517 of file via-velocity.h.
#define TXESR_TDSTR 0x01 |
Definition at line 518 of file via-velocity.h.
#define TXESR_TDWBS 0x04 |
Definition at line 516 of file via-velocity.h.
#define TXESR_TFDBS 0x08 |
Definition at line 515 of file via-velocity.h.
Definition at line 60 of file via-velocity.h.
#define VCAM_SIZE 64 |
Definition at line 256 of file via-velocity.h.
#define VELOCITY_AUTONEG_ENABLE 0x00000020UL |
Definition at line 1372 of file via-velocity.h.
#define VELOCITY_DBG | ( | x | ) |
Definition at line 1315 of file via-velocity.h.
#define VELOCITY_DUPLEX_FULL 0x00000010UL |
Definition at line 1371 of file via-velocity.h.
#define VELOCITY_FLAGS_FLOW_CTRL 0x01000000UL |
Definition at line 1352 of file via-velocity.h.
#define VELOCITY_FLAGS_IP_ALIGN 0x00000008UL |
Definition at line 1349 of file via-velocity.h.
#define VELOCITY_FLAGS_OPENED 0x00010000UL |
Definition at line 1358 of file via-velocity.h.
#define VELOCITY_FLAGS_RX_CSUM 0x00000004UL |
Definition at line 1348 of file via-velocity.h.
#define VELOCITY_FLAGS_TAGGING 0x00000001UL |
Definition at line 1347 of file via-velocity.h.
#define VELOCITY_FLAGS_VAL_PKT_LEN 0x00000010UL |
Definition at line 1350 of file via-velocity.h.
#define VELOCITY_FLAGS_VMNS_COMMITTED 0x00040000UL |
Definition at line 1360 of file via-velocity.h.
#define VELOCITY_FLAGS_VMNS_CONNECTED 0x00020000UL |
Definition at line 1359 of file via-velocity.h.
#define VELOCITY_FLAGS_WOL_ENABLED 0x00080000UL |
Definition at line 1361 of file via-velocity.h.
#define VELOCITY_FORCED_BY_EEPROM 0x00000040UL |
Definition at line 1373 of file via-velocity.h.
#define VELOCITY_FULL_DRV_NAM "VIA Networking Velocity Family Gigabit Ethernet Adapter Driver" |
Definition at line 31 of file via-velocity.h.
#define VELOCITY_IO_SIZE 256 |
Definition at line 34 of file via-velocity.h.
#define VELOCITY_LINK_CHANGE 0x00000001UL |
Definition at line 1379 of file via-velocity.h.
#define VELOCITY_LINK_FAIL 0x00000001UL |
Definition at line 1367 of file via-velocity.h.
#define VELOCITY_MAX_MTU (9000) |
Definition at line 261 of file via-velocity.h.
#define VELOCITY_MIN_MTU (64) |
Definition at line 260 of file via-velocity.h.
#define VELOCITY_NAME "via-velocity" |
Definition at line 30 of file via-velocity.h.
#define VELOCITY_NAPI_WEIGHT 64 |
Definition at line 35 of file via-velocity.h.
Definition at line 1318 of file via-velocity.h.
#define VELOCITY_SPEED_10 0x00000002UL |
Definition at line 1368 of file via-velocity.h.
#define VELOCITY_SPEED_100 0x00000004UL |
Definition at line 1369 of file via-velocity.h.
#define VELOCITY_SPEED_1000 0x00000008UL |
Definition at line 1370 of file via-velocity.h.
#define VELOCITY_TX_CSUM_SUPPORT |
Definition at line 28 of file via-velocity.h.
#define VELOCITY_VERSION "1.15" |
Definition at line 32 of file via-velocity.h.
#define VELOCITY_WOL_ARP 0x00000002UL |
Definition at line 1337 of file via-velocity.h.
#define VELOCITY_WOL_BCAST 0x00000010UL |
Definition at line 1339 of file via-velocity.h.
#define VELOCITY_WOL_MAGIC 0x00000000UL |
Definition at line 1335 of file via-velocity.h.
#define VELOCITY_WOL_MAGIC_SEC 0x00000040UL |
Definition at line 1341 of file via-velocity.h.
#define VELOCITY_WOL_MCAST 0x00000020UL |
Definition at line 1340 of file via-velocity.h.
#define VELOCITY_WOL_PHY 0x00000001UL |
Definition at line 1336 of file via-velocity.h.
#define VELOCITY_WOL_UCAST 0x00000004UL |
Definition at line 1338 of file via-velocity.h.
#define W_MAX_TIMEOUT 0x0FFFU |
Definition at line 962 of file via-velocity.h.
#define WOLCFG_PHYINTEN |
Definition at line 906 of file via-velocity.h.
#define WOLCFG_PMEOVR 0x80 /* for legacy use, force PMEEN always */ |
Definition at line 901 of file via-velocity.h.
#define WOLCFG_SAB 0x10 /* accept broadcast case reset, default=0 */ |
Definition at line 903 of file via-velocity.h.
#define WOLCFG_SAM 0x20 /* accept multicast case reset, default=0 */ |
Definition at line 902 of file via-velocity.h.
#define WOLCFG_SGENWH 0x02 |
Definition at line 905 of file via-velocity.h.
#define WOLCFG_SMIIACC 0x08 /* ?? */ |
Definition at line 904 of file via-velocity.h.
#define WOLCR_ARP_EN 0x0001 |
Definition at line 872 of file via-velocity.h.
#define WOLCR_LINKOFF_EN 0x0800 /* link off detected enable */ |
Definition at line 878 of file via-velocity.h.
#define WOLCR_LINKON_EN 0x0400 /* link on detected enable */ |
Definition at line 879 of file via-velocity.h.
#define WOLCR_MAGIC_EN 0x0200 /* magic packet filter enable */ |
Definition at line 880 of file via-velocity.h.
#define WOLCR_MSWOLEN0 0x0001 |
Definition at line 871 of file via-velocity.h.
#define WOLCR_MSWOLEN1 0x0002 |
Definition at line 870 of file via-velocity.h.
#define WOLCR_MSWOLEN2 0x0004 |
Definition at line 869 of file via-velocity.h.
#define WOLCR_MSWOLEN3 0x0008 |
Definition at line 868 of file via-velocity.h.
#define WOLCR_MSWOLEN4 0x0010 |
Definition at line 867 of file via-velocity.h.
#define WOLCR_MSWOLEN5 0x0020 |
Definition at line 866 of file via-velocity.h.
#define WOLCR_MSWOLEN6 0x0040 |
Definition at line 865 of file via-velocity.h.
#define WOLCR_MSWOLEN7 0x0080 /* enable pattern match filtering */ |
Definition at line 864 of file via-velocity.h.
#define WOLCR_UNICAST_EN 0x0100 /* unicast filter enable */ |
Definition at line 881 of file via-velocity.h.
#define WOLSR_LINKOFF_INT 0x0800 |
Definition at line 911 of file via-velocity.h.
#define WOLSR_LINKON_INT 0x0400 |
Definition at line 912 of file via-velocity.h.
#define WOLSR_MAGIC_INT 0x0200 |
Definition at line 913 of file via-velocity.h.
#define WOLSR_UNICAST_INT 0x0100 |
Definition at line 914 of file via-velocity.h.
Definition at line 49 of file via-velocity.h.
Definition at line 53 of file via-velocity.h.
Definition at line 45 of file via-velocity.h.
Definition at line 57 of file via-velocity.h.
Definition at line 1197 of file via-velocity.h.
anonymous enum |
Definition at line 186 of file via-velocity.h.
anonymous enum |
Definition at line 213 of file via-velocity.h.
enum chip_type |
chip_504x | |
chip_508x | |
chip_5080 | |
chip_604x | |
chip_608x | |
chip_6042 | |
chip_7042 | |
chip_soc | |
RTL8002 | |
RTL8012 | |
CHIP_TYPE_VT6110 | |
unknown | |
tmc1800 | |
tmc18c50 | |
tmc18c30 |
Definition at line 1131 of file via-velocity.h.
enum hw_mib |
Definition at line 1095 of file via-velocity.h.
enum speed_opt |
SPD_DPX_AUTO | |
SPD_DPX_100_HALF | |
SPD_DPX_100_FULL | |
SPD_DPX_10_HALF | |
SPD_DPX_10_FULL | |
SPD_DPX_1000_FULL |
Definition at line 1381 of file via-velocity.h.
Definition at line 1396 of file via-velocity.h.
enum velocity_init_type |
Definition at line 1390 of file via-velocity.h.
enum velocity_msg_level |
Definition at line 1296 of file via-velocity.h.
enum velocity_owner |
Definition at line 244 of file via-velocity.h.