Included in: | nut/boot/eboot/ether.c |
#define NIC_BASE 0x8300
#define NIC_CR
#define NIC_IOPORT
#define NIC_RESET
#define NIC_PG0_CLDA0
#define NIC_PG0_PSTART
#define NIC_PG0_CLDA1
#define NIC_PG0_PSTOP
#define NIC_PG0_BNRY
#define NIC_PG0_TSR
#define NIC_PG0_TPSR
#define NIC_PG0_NCR
#define NIC_PG0_TBCR0
#define NIC_PG0_FIFO
#define NIC_PG0_TBCR1
#define NIC_PG0_ISR
#define NIC_PG0_CRDA0
#define NIC_PG0_RSAR0
#define NIC_PG0_CRDA1
#define NIC_PG0_RSAR1
#define NIC_PG0_RBCR0
#define NIC_PG0_RBCR1
#define NIC_PG0_RSR
#define NIC_PG0_RCR
#define NIC_PG0_CNTR0
#define NIC_PG0_TCR
#define NIC_PG0_CNTR1
#define NIC_PG0_DCR
#define NIC_PG0_CNTR2
#define NIC_PG0_IMR
#define NIC_PG1_PAR0
#define NIC_PG1_PAR1
#define NIC_PG1_PAR2
#define NIC_PG1_PAR3
#define NIC_PG1_PAR4
#define NIC_PG1_PAR5
#define NIC_PG1_CURR
#define NIC_PG1_MAR0
#define NIC_PG1_MAR1
#define NIC_PG1_MAR2
#define NIC_PG1_MAR3
#define NIC_PG1_MAR4
#define NIC_PG1_MAR5
#define NIC_PG1_MAR6
#define NIC_PG1_MAR7
#define NIC_PG3_EECR
#define NIC_PG3_CONFIG2
#define NIC_PG3_CONFIG3
#define NIC_CR_STP 0x01
#define NIC_CR_STA 0x02
#define NIC_CR_TXP 0x04
#define NIC_CR_RD0 0x08
#define NIC_CR_RD1 0x10
#define NIC_CR_RD2 0x20
#define NIC_CR_PS0 0x40
#define NIC_CR_PS1 0x80
#define NIC_ISR_PRX 0x01
#define NIC_ISR_PTX 0x02
#define NIC_ISR_RXE 0x04
#define NIC_ISR_TXE 0x08
#define NIC_ISR_OVW 0x10
#define NIC_ISR_CNT 0x20
#define NIC_ISR_RDC 0x40
#define NIC_ISR_RST 0x80
#define NIC_IMR_PRXE 0x01
#define NIC_IMR_PTXE 0x02
#define NIC_IMR_RXEE 0x04
#define NIC_IMR_TXEE 0x08
#define NIC_IMR_OVWE 0x10
#define NIC_IMR_CNTE 0x20
#define NIC_IMR_RCDE 0x40
#define NIC_DCR_WTS 0x01
#define NIC_DCR_BOS 0x02
#define NIC_DCR_LAS 0x04
#define NIC_DCR_LS 0x08
#define NIC_DCR_AR 0x10
#define NIC_DCR_FT0 0x20
#define NIC_DCR_FT1 0x40
#define NIC_TCR_CRC 0x01
#define NIC_TCR_LB0 0x02
#define NIC_TCR_LB1 0x04
#define NIC_TCR_ATD 0x08
#define NIC_TCR_OFST 0x10
#define NIC_TSR_PTX 0x01
#define NIC_TSR_COL 0x04
#define NIC_TSR_ABT 0x08
#define NIC_TSR_CRS 0x10
#define NIC_TSR_FU 0x20
#define NIC_TSR_CDH 0x40
#define NIC_TSR_OWC 0x80
#define NIC_RCR_SEP 0x01
#define NIC_RCR_AR 0x02
#define NIC_RCR_AB 0x04
#define NIC_RCR_AM 0x08
#define NIC_RCR_PRO 0x10
#define NIC_RCR_MON 0x20
#define NIC_RSR_PRX 0x01
#define NIC_RSR_CRC 0x02
#define NIC_RSR_FAE 0x04
#define NIC_RSR_FO 0x08
#define NIC_RSR_MPA 0x10
#define NIC_RSR_PHY 0x20
#define NIC_RSR_DIS 0x40
#define NIC_RSR_DFR 0x80
#define NIC_EECR_EEM1 0x80
#define NIC_EECR_EEM0 0x40
#define NIC_EECR_EECS 0x08
#define NIC_EECR_EESK 0x04
#define NIC_EECR_EEDI 0x02
#define NIC_EECR_EEDO 0x01
#define NIC_CONFIG2_PL1 0x80
#define NIC_CONFIG2_PL0 0x40
#define NIC_CONFIG2_BSELB 0x20
#define NIC_CONFIG2_BS4 0x10
#define NIC_CONFIG2_BS3 0x08
#define NIC_CONFIG2_BS2 0x04
#define NIC_CONFIG2_BS1 0x02
#define NIC_CONFIG2_BS0 0x01
#define NIC_CONFIG3_PNP 0x80
#define NIC_CONFIG3_FUDUP 0x40
#define NIC_CONFIG3_LEDS1 0x20
#define NIC_CONFIG3_LEDS0 0x10
#define NIC_CONFIG3_SLEEP 0x04
#define NIC_CONFIG3_PWRDN 0x02
#define NIC_CONFIG3_ACTIVEB 0x01