16#define SMSC95XX_INT_STS 0x008
17#define SMSC95XX_INT_STS_RXDF_INT 0x00000800UL
18#define SMSC95XX_INT_STS_PHY_INT 0x00008000UL
21#define SMSC95XX_TX_CFG 0x010
22#define SMSC95XX_TX_CFG_ON 0x00000004UL
25#define SMSC95XX_HW_CFG 0x014
26#define SMSC95XX_HW_CFG_BIR 0x00001000UL
27#define SMSC95XX_HW_CFG_LRST 0x00000008UL
30#define SMSC95XX_LED_GPIO_CFG 0x024
31#define SMSC95XX_LED_GPIO_CFG_GPCTL2(x) ( (x) << 24 )
32#define SMSC95XX_LED_GPIO_CFG_GPCTL2_NSPD_LED \
33 SMSC95XX_LED_GPIO_CFG_GPCTL2 ( 1 )
34#define SMSC95XX_LED_GPIO_CFG_GPCTL1(x) ( (x) << 20 )
35#define SMSC95XX_LED_GPIO_CFG_GPCTL1_NLNKA_LED \
36 SMSC95XX_LED_GPIO_CFG_GPCTL1 ( 1 )
37#define SMSC95XX_LED_GPIO_CFG_GPCTL0(x) ( (x) << 16 )
38#define SMSC95XX_LED_GPIO_CFG_GPCTL0_NFDX_LED \
39 SMSC95XX_LED_GPIO_CFG_GPCTL0 ( 1 )
42#define SMSC95XX_E2P_BASE 0x030
45#define SMSC95XX_INT_EP_CTL 0x068
46#define SMSC95XX_INT_EP_CTL_RXDF_EN 0x00000800UL
47#define SMSC95XX_INT_EP_CTL_PHY_EN 0x00008000UL
50#define SMSC95XX_BULK_IN_DLY 0x06c
51#define SMSC95XX_BULK_IN_DLY_SET(ticks) ( (ticks) << 0 )
54#define SMSC95XX_MAC_CR 0x100
55#define SMSC95XX_MAC_CR_RXALL 0x80000000UL
56#define SMSC95XX_MAC_CR_FDPX 0x00100000UL
57#define SMSC95XX_MAC_CR_MCPAS 0x00080000UL
58#define SMSC95XX_MAC_CR_PRMS 0x00040000UL
59#define SMSC95XX_MAC_CR_PASSBAD 0x00010000UL
60#define SMSC95XX_MAC_CR_TXEN 0x00000008UL
61#define SMSC95XX_MAC_CR_RXEN 0x00000004UL
64#define SMSC95XX_ADDR_BASE 0x104
67#define SMSC95XX_MII_BASE 0x0114
70#define SMSC95XX_MII_PHY_INTR_SOURCE 29
73#define SMSC95XX_MII_PHY_INTR_MASK 30
76#define SMSC95XX_PHY_INTR_ANEG_DONE 0x0040
79#define SMSC95XX_PHY_INTR_LINK_DOWN 0x0010
88#define SMSC95XX_RX_RUNT 0x00004000UL
91#define SMSC95XX_RX_LATE 0x00000040UL
94#define SMSC95XX_RX_CRC 0x00000002UL
105#define SMSC95XX_TX_FIRST 0x00002000UL
108#define SMSC95XX_TX_LAST 0x00001000UL
111#define SMSC95XX_TX_LEN(len) ( (len) << 0 )
134#define SMSC95XX_RX_STATISTICS 0
161#define SMSC95XX_TX_STATISTICS 1
164#define SMSC95XX_RESET_DELAY_US 2
170#define SMSC95XX_IN_MAX_FILL 8
173#define SMSC95XX_IN_MTU \
174 ( sizeof ( struct smsc95xx_rx_header ) + \
179#define SMSC95XX_VM3_OEM_STRING_MAC 2
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
SMSC USB Ethernet drivers.
uint32_t alignment
Alignment errors.
uint32_t dropped
Dropped frames.
uint32_t late
Later collision errors.
uint32_t oversize
Frame too long errors.
uint32_t good
Good frames.
uint32_t undersize
Runt frame errors.
uint32_t underrun
Buffer underruns.
uint32_t late
Late collisions.
uint32_t pause
Pause frames.
uint32_t multiple
Multiple collisions.
uint32_t deferred
Excessive deferrals.
uint32_t carrier
Carrier errors.
uint32_t single
Single collisions.
uint32_t excessive
Excessive collisions.
uint32_t good
Good frames.