#define LAN91_BASE_ADDR 0xC000
#define LAN91_BSR
#define LAN91_TCR
#define LAN91_TCR_SWFDUP 0x8000
#define LAN91_TCR_EPH_LOOP 0x2000
#define LAN91_TCR_STP_SQET 0x1000
#define LAN91_TCR_FDUPLX 0x0800
#define LAN91_TCR_MON_CSN 0x0400
#define LAN91_TCR_NOCRC 0x0100
#define LAN91_TCR_PAD_EN 0x0080
#define LAN91_TCR_FORCOL 0x0004
#define LAN91_TCR_LOOP 0x0002
#define LAN91_TCR_TXENA 0x0001
#define LAN91_EPHSR
#define LAN91_RCR
#define LAN91_RCR_SOFT_RST 0x8000
#define LAN91_RCR_FILT_CAR 0x4000
#define LAN91_RCR_ABORT_ENB 0x2000
#define LAN91_RCR_STRIP_CRC 0x0200
#define LAN91_RCR_RXEN 0x0100
#define LAN91_RCR_ALMUL 0x0004
#define LAN91_RCR_PRMS 0x0002
#define LAN91_RCR_RX_ABORT 0x0001
#define LAN91_ECR
#define LAN91_MIR
#define LAN91_RPCR
#define LAN91_RPCR_SPEED 0x2000
#define LAN91_RPCR_DPLX 0x1000
#define LAN91_RPCR_ANEG 0x0800
#define LAN91_RPCR_LEDA_PAT 0x0000
#define LAN91_RPCR_LEDB_PAT 0x0010
#define LAN91_CR
#define LAN91_CR_EPH_EN 0x8000
#define LAN91_BAR
#define LAN91_IAR
#define LAN91_GPR
#define LAN91_CTR
#define LAN91_CTR_RCV_BAD 0x4000
#define LAN91_CTR_AUTO_RELEASE 0x0800
#define LAN91_MMUCR
#define LAN91_MMUCR_BUSY 0x0001
#define LAN91_MMU_NOP 0
#define LAN91_MMU_ALO
#define LAN91_MMU_RST
#define LAN91_MMU_REM
#define LAN91_MMU_TOP
#define LAN91_MMU_PKT
#define LAN91_MMU_ENQ
#define LAN91_MMU_RTX
#define LAN91_PNR
#define LAN91_ARR
#define LAN91_ARR_FAILED 0x80
#define LAN91_FIFO
#define LAN91_PTR
#define LAN91_PTR_RCV 0x8000
#define LAN91_PTR_AUTO_INCR 0x4000
#define LAN91_PTR_READ 0x2000
#define LAN91_PTR_ETEN 0x1000
#define LAN91_PTR_NOT_EMPTY 0x0800
#define LAN91_DATA
#define LAN91_IST
#define LAN91_ACK
#define LAN91_MSK
#define LAN91_INT_MD 0x80
#define LAN91_INT_ERCV 0x40
#define LAN91_INT_EPH 0x20
#define LAN91_INT_RX_OVRN 0x10
#define LAN91_INT_ALLOC 0x08
#define LAN91_INT_TX_EMPTY 0x04
#define LAN91_INT_TX 0x02
#define LAN91_INT_RCV 0x01
#define LAN91_MT
#define LAN91_MGMT
#define LAN91_MGMT_MDOE 0x08
#define LAN91_MGMT_MCLK 0x04
#define LAN91_MGMT_MDI 0x02
#define LAN91_MGMT_MDO 0x01
#define LAN91_REV
#define LAN91_ERCV
#define LAN91_PHYCR 0
#define LAN91_PHYCR_RST 0x8000
#define LAN91_PHYCR_LPBK 0x4000
#define LAN91_PHYCR_SPEED 0x2000
#define LAN91_PHYCR_ANEG_EN 0x1000
#define LAN91_PHYCR_PDN 0x0800
#define LAN91_PHYCR_MII_DIS 0x0400
#define LAN91_PHYCR_ANEG_RST 0x0200
#define LAN91_PHYCR_DPLX 0x0100
#define LAN91_PHYCR_COLST 0x0080
#define LAN91_PHYSR 1
#define LAN91_PHYSR_CAP_T4 0x8000
#define LAN91_PHYSR_CAP_TXF 0x4000
#define LAN91_PHYSR_CAP_TXH 0x2000
#define LAN91_PHYSR_CAP_TF 0x1000
#define LAN91_PHYSR_CAP_TH 0x0800
#define LAN91_PHYSR_CAP_SUPR 0x0040
#define LAN91_PHYSR_ANEG_ACK 0x0020
#define LAN91_PHYSR_REM_FLT 0x0010
#define LAN91_PHYSR_CAP_ANEG 0x0008
#define LAN91_PHYSR_LINK 0x0004
#define LAN91_PHYSR_JAB 0x0002
#define LAN91_PHYSR_EXREG 0x0001
#define LAN91_PHYID1 2
#define LAN91_PHYID2 3
#define LAN91_PHYANAD 4
#define LAN91_PHYANAD_NP 0x8000
#define LAN91_PHYANAD_ACK 0x4000
#define LAN91_PHYANAD_RF 0x2000
#define LAN91_PHYANAD_T4 0x0200
#define LAN91_PHYANAD_TX_FDX 0x0100
#define LAN91_PHYANAD_TX_HDX 0x0080
#define LAN91_PHYANAD_10FDX 0x0040
#define LAN91_PHYANAD_10_HDX 0x0020
#define LAN91_PHYANAD_CSMA 0x0001
#define LAN91_PHYANRC 5
#define LAN91_PHYCFR1 16
#define LAN91_PHYCFR2 17
#define LAN91_PHYSOR 18
#define LAN91_PHYSOR_INT 0x8000
#define LAN91_PHYSOR_LNKFAIL 0x4000
#define LAN91_PHYSOR_LOSSSYNC 0x2000
#define LAN91_PHYSOR_CWRD 0x1000
#define LAN91_PHYSOR_SSD 0x0800
#define LAN91_PHYSOR_ESD 0x0400
#define LAN91_PHYSOR_RPOL 0x0200
#define LAN91_PHYSOR_JAB 0x0100
#define LAN91_PHYSOR_SPDDET 0x0080
#define LAN91_PHYSOR_DPLXDET 0x0040
#define LAN91_PHYMSK 19
#define LAN91_PHYMSK_MINT 0x8000
#define LAN91_PHYMSK_MLNKFAIL 0x4000
#define LAN91_PHYMSK_MLOSSSYN 0x2000
#define LAN91_PHYMSK_MCWRD 0x1000
#define LAN91_PHYMSK_MSSD 0x0800
#define LAN91_PHYMSK_MESD 0x0400
#define LAN91_PHYMSK_MRPOL 0x0200
#define LAN91_PHYMSK_MJAB 0x0100
#define LAN91_PHYMSK_MSPDDT 0x0080
#define LAN91_PHYMSK_MDPLDT 0x0040
#define DEV_ETHER devLan91
Defined in: | nut/dev/lan91.c |