Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
smsc75xx.h File Reference

Go to the source code of this file.

Macros

#define TX_CMD_A_LSO   (0x08000000)
 
#define TX_CMD_A_IPE   (0x04000000)
 
#define TX_CMD_A_TPE   (0x02000000)
 
#define TX_CMD_A_IVTG   (0x01000000)
 
#define TX_CMD_A_RVTG   (0x00800000)
 
#define TX_CMD_A_FCS   (0x00400000)
 
#define TX_CMD_A_LEN   (0x000FFFFF)
 
#define TX_CMD_B_MSS   (0x3FFF0000)
 
#define TX_CMD_B_MSS_SHIFT   (16)
 
#define TX_MSS_MIN   ((u16)8)
 
#define TX_CMD_B_VTAG   (0x0000FFFF)
 
#define RX_CMD_A_ICE   (0x80000000)
 
#define RX_CMD_A_TCE   (0x40000000)
 
#define RX_CMD_A_IPV   (0x20000000)
 
#define RX_CMD_A_PID   (0x18000000)
 
#define RX_CMD_A_PID_NIP   (0x00000000)
 
#define RX_CMD_A_PID_TCP   (0x08000000)
 
#define RX_CMD_A_PID_UDP   (0x10000000)
 
#define RX_CMD_A_PID_PP   (0x18000000)
 
#define RX_CMD_A_PFF   (0x04000000)
 
#define RX_CMD_A_BAM   (0x02000000)
 
#define RX_CMD_A_MAM   (0x01000000)
 
#define RX_CMD_A_FVTG   (0x00800000)
 
#define RX_CMD_A_RED   (0x00400000)
 
#define RX_CMD_A_RWT   (0x00200000)
 
#define RX_CMD_A_RUNT   (0x00100000)
 
#define RX_CMD_A_LONG   (0x00080000)
 
#define RX_CMD_A_RXE   (0x00040000)
 
#define RX_CMD_A_DRB   (0x00020000)
 
#define RX_CMD_A_FCS   (0x00010000)
 
#define RX_CMD_A_UAM   (0x00008000)
 
#define RX_CMD_A_LCSM   (0x00004000)
 
#define RX_CMD_A_LEN   (0x00003FFF)
 
#define RX_CMD_B_CSUM   (0xFFFF0000)
 
#define RX_CMD_B_CSUM_SHIFT   (16)
 
#define RX_CMD_B_VTAG   (0x0000FFFF)
 
#define ID_REV   (0x0000)
 
#define FPGA_REV   (0x0004)
 
#define BOND_CTL   (0x0008)
 
#define INT_STS   (0x000C)
 
#define INT_STS_RDFO_INT   (0x00400000)
 
#define INT_STS_TXE_INT   (0x00200000)
 
#define INT_STS_MACRTO_INT   (0x00100000)
 
#define INT_STS_TX_DIS_INT   (0x00080000)
 
#define INT_STS_RX_DIS_INT   (0x00040000)
 
#define INT_STS_PHY_INT_   (0x00020000)
 
#define INT_STS_MAC_ERR_INT   (0x00008000)
 
#define INT_STS_TDFU   (0x00004000)
 
#define INT_STS_TDFO   (0x00002000)
 
#define INT_STS_GPIOS   (0x00000FFF)
 
#define INT_STS_CLEAR_ALL   (0xFFFFFFFF)
 
#define HW_CFG   (0x0010)
 
#define HW_CFG_SMDET_STS   (0x00008000)
 
#define HW_CFG_SMDET_EN   (0x00004000)
 
#define HW_CFG_EEM   (0x00002000)
 
#define HW_CFG_RST_PROTECT   (0x00001000)
 
#define HW_CFG_PORT_SWAP   (0x00000800)
 
#define HW_CFG_PHY_BOOST   (0x00000600)
 
#define HW_CFG_PHY_BOOST_NORMAL   (0x00000000)
 
#define HW_CFG_PHY_BOOST_4   (0x00002000)
 
#define HW_CFG_PHY_BOOST_8   (0x00004000)
 
#define HW_CFG_PHY_BOOST_12   (0x00006000)
 
#define HW_CFG_LEDB   (0x00000100)
 
#define HW_CFG_BIR   (0x00000080)
 
#define HW_CFG_SBP   (0x00000040)
 
#define HW_CFG_IME   (0x00000020)
 
#define HW_CFG_MEF   (0x00000010)
 
#define HW_CFG_ETC   (0x00000008)
 
#define HW_CFG_BCE   (0x00000004)
 
#define HW_CFG_LRST   (0x00000002)
 
#define HW_CFG_SRST   (0x00000001)
 
#define PMT_CTL   (0x0014)
 
#define PMT_CTL_PHY_PWRUP   (0x00000400)
 
#define PMT_CTL_RES_CLR_WKP_EN   (0x00000100)
 
#define PMT_CTL_DEV_RDY   (0x00000080)
 
#define PMT_CTL_SUS_MODE   (0x00000060)
 
#define PMT_CTL_SUS_MODE_0   (0x00000000)
 
#define PMT_CTL_SUS_MODE_1   (0x00000020)
 
#define PMT_CTL_SUS_MODE_2   (0x00000040)
 
#define PMT_CTL_SUS_MODE_3   (0x00000060)
 
#define PMT_CTL_PHY_RST   (0x00000010)
 
#define PMT_CTL_WOL_EN   (0x00000008)
 
#define PMT_CTL_ED_EN   (0x00000004)
 
#define PMT_CTL_WUPS   (0x00000003)
 
#define PMT_CTL_WUPS_NO   (0x00000000)
 
#define PMT_CTL_WUPS_ED   (0x00000001)
 
#define PMT_CTL_WUPS_WOL   (0x00000002)
 
#define PMT_CTL_WUPS_MULTI   (0x00000003)
 
#define LED_GPIO_CFG   (0x0018)
 
#define LED_GPIO_CFG_LED2_FUN_SEL   (0x80000000)
 
#define LED_GPIO_CFG_LED10_FUN_SEL   (0x40000000)
 
#define LED_GPIO_CFG_LEDGPIO_EN   (0x0000F000)
 
#define LED_GPIO_CFG_LEDGPIO_EN_0   (0x00001000)
 
#define LED_GPIO_CFG_LEDGPIO_EN_1   (0x00002000)
 
#define LED_GPIO_CFG_LEDGPIO_EN_2   (0x00004000)
 
#define LED_GPIO_CFG_LEDGPIO_EN_3   (0x00008000)
 
#define LED_GPIO_CFG_GPBUF   (0x00000F00)
 
#define LED_GPIO_CFG_GPBUF_0   (0x00000100)
 
#define LED_GPIO_CFG_GPBUF_1   (0x00000200)
 
#define LED_GPIO_CFG_GPBUF_2   (0x00000400)
 
#define LED_GPIO_CFG_GPBUF_3   (0x00000800)
 
#define LED_GPIO_CFG_GPDIR   (0x000000F0)
 
#define LED_GPIO_CFG_GPDIR_0   (0x00000010)
 
#define LED_GPIO_CFG_GPDIR_1   (0x00000020)
 
#define LED_GPIO_CFG_GPDIR_2   (0x00000040)
 
#define LED_GPIO_CFG_GPDIR_3   (0x00000080)
 
#define LED_GPIO_CFG_GPDATA   (0x0000000F)
 
#define LED_GPIO_CFG_GPDATA_0   (0x00000001)
 
#define LED_GPIO_CFG_GPDATA_1   (0x00000002)
 
#define LED_GPIO_CFG_GPDATA_2   (0x00000004)
 
#define LED_GPIO_CFG_GPDATA_3   (0x00000008)
 
#define GPIO_CFG   (0x001C)
 
#define GPIO_CFG_SHIFT   (24)
 
#define GPIO_CFG_GPEN   (0xFF000000)
 
#define GPIO_CFG_GPBUF   (0x00FF0000)
 
#define GPIO_CFG_GPDIR   (0x0000FF00)
 
#define GPIO_CFG_GPDATA   (0x000000FF)
 
#define GPIO_WAKE   (0x0020)
 
#define GPIO_WAKE_PHY_LINKUP_EN   (0x80000000)
 
#define GPIO_WAKE_POL   (0x0FFF0000)
 
#define GPIO_WAKE_POL_SHIFT   (16)
 
#define GPIO_WAKE_WK   (0x00000FFF)
 
#define DP_SEL   (0x0024)
 
#define DP_SEL_DPRDY   (0x80000000)
 
#define DP_SEL_RSEL   (0x0000000F)
 
#define DP_SEL_URX   (0x00000000)
 
#define DP_SEL_VHF   (0x00000001)
 
#define DP_SEL_VHF_HASH_LEN   (16)
 
#define DP_SEL_VHF_VLAN_LEN   (128)
 
#define DP_SEL_LSO_HEAD   (0x00000002)
 
#define DP_SEL_FCT_RX   (0x00000003)
 
#define DP_SEL_FCT_TX   (0x00000004)
 
#define DP_SEL_DESCRIPTOR   (0x00000005)
 
#define DP_SEL_WOL   (0x00000006)
 
#define DP_CMD   (0x0028)
 
#define DP_CMD_WRITE   (0x01)
 
#define DP_CMD_READ   (0x00)
 
#define DP_ADDR   (0x002C)
 
#define DP_DATA   (0x0030)
 
#define BURST_CAP   (0x0034)
 
#define BURST_CAP_MASK   (0x0000000F)
 
#define INT_EP_CTL   (0x0038)
 
#define INT_EP_CTL_INTEP_ON   (0x80000000)
 
#define INT_EP_CTL_RDFO_EN   (0x00400000)
 
#define INT_EP_CTL_TXE_EN   (0x00200000)
 
#define INT_EP_CTL_MACROTO_EN   (0x00100000)
 
#define INT_EP_CTL_TX_DIS_EN   (0x00080000)
 
#define INT_EP_CTL_RX_DIS_EN   (0x00040000)
 
#define INT_EP_CTL_PHY_EN_   (0x00020000)
 
#define INT_EP_CTL_MAC_ERR_EN   (0x00008000)
 
#define INT_EP_CTL_TDFU_EN   (0x00004000)
 
#define INT_EP_CTL_TDFO_EN   (0x00002000)
 
#define INT_EP_CTL_RX_FIFO_EN   (0x00001000)
 
#define INT_EP_CTL_GPIOX_EN   (0x00000FFF)
 
#define BULK_IN_DLY   (0x003C)
 
#define BULK_IN_DLY_MASK   (0xFFFF)
 
#define E2P_CMD   (0x0040)
 
#define E2P_CMD_BUSY   (0x80000000)
 
#define E2P_CMD_MASK   (0x70000000)
 
#define E2P_CMD_READ   (0x00000000)
 
#define E2P_CMD_EWDS   (0x10000000)
 
#define E2P_CMD_EWEN   (0x20000000)
 
#define E2P_CMD_WRITE   (0x30000000)
 
#define E2P_CMD_WRAL   (0x40000000)
 
#define E2P_CMD_ERASE   (0x50000000)
 
#define E2P_CMD_ERAL   (0x60000000)
 
#define E2P_CMD_RELOAD   (0x70000000)
 
#define E2P_CMD_TIMEOUT   (0x00000400)
 
#define E2P_CMD_LOADED   (0x00000200)
 
#define E2P_CMD_ADDR   (0x000001FF)
 
#define MAX_EEPROM_SIZE   (512)
 
#define E2P_DATA   (0x0044)
 
#define E2P_DATA_MASK_   (0x000000FF)
 
#define RFE_CTL   (0x0060)
 
#define RFE_CTL_TCPUDP_CKM   (0x00001000)
 
#define RFE_CTL_IP_CKM   (0x00000800)
 
#define RFE_CTL_AB   (0x00000400)
 
#define RFE_CTL_AM   (0x00000200)
 
#define RFE_CTL_AU   (0x00000100)
 
#define RFE_CTL_VS   (0x00000080)
 
#define RFE_CTL_UF   (0x00000040)
 
#define RFE_CTL_VF   (0x00000020)
 
#define RFE_CTL_SPF   (0x00000010)
 
#define RFE_CTL_MHF   (0x00000008)
 
#define RFE_CTL_DHF   (0x00000004)
 
#define RFE_CTL_DPF   (0x00000002)
 
#define RFE_CTL_RST_RF   (0x00000001)
 
#define VLAN_TYPE   (0x0064)
 
#define VLAN_TYPE_MASK   (0x0000FFFF)
 
#define FCT_RX_CTL   (0x0090)
 
#define FCT_RX_CTL_EN   (0x80000000)
 
#define FCT_RX_CTL_RST   (0x40000000)
 
#define FCT_RX_CTL_SBF   (0x02000000)
 
#define FCT_RX_CTL_OVERFLOW   (0x01000000)
 
#define FCT_RX_CTL_FRM_DROP   (0x00800000)
 
#define FCT_RX_CTL_RX_NOT_EMPTY   (0x00400000)
 
#define FCT_RX_CTL_RX_EMPTY   (0x00200000)
 
#define FCT_RX_CTL_RX_DISABLED   (0x00100000)
 
#define FCT_RX_CTL_RXUSED   (0x0000FFFF)
 
#define FCT_TX_CTL   (0x0094)
 
#define FCT_TX_CTL_EN   (0x80000000)
 
#define FCT_TX_CTL_RST   (0x40000000)
 
#define FCT_TX_CTL_TX_NOT_EMPTY   (0x00400000)
 
#define FCT_TX_CTL_TX_EMPTY   (0x00200000)
 
#define FCT_TX_CTL_TX_DISABLED   (0x00100000)
 
#define FCT_TX_CTL_TXUSED   (0x0000FFFF)
 
#define FCT_RX_FIFO_END   (0x0098)
 
#define FCT_RX_FIFO_END_MASK   (0x0000007F)
 
#define FCT_TX_FIFO_END   (0x009C)
 
#define FCT_TX_FIFO_END_MASK   (0x0000003F)
 
#define FCT_FLOW   (0x00A0)
 
#define FCT_FLOW_THRESHOLD_OFF   (0x00007F00)
 
#define FCT_FLOW_THRESHOLD_OFF_SHIFT   (8)
 
#define FCT_FLOW_THRESHOLD_ON   (0x0000007F)
 
#define MAC_CR   (0x100)
 
#define MAC_CR_ADP   (0x00002000)
 
#define MAC_CR_ADD   (0x00001000)
 
#define MAC_CR_ASD   (0x00000800)
 
#define MAC_CR_INT_LOOP   (0x00000400)
 
#define MAC_CR_BOLMT   (0x000000C0)
 
#define MAC_CR_FDPX   (0x00000008)
 
#define MAC_CR_CFG   (0x00000006)
 
#define MAC_CR_CFG_10   (0x00000000)
 
#define MAC_CR_CFG_100   (0x00000002)
 
#define MAC_CR_CFG_1000   (0x00000004)
 
#define MAC_CR_RST   (0x00000001)
 
#define MAC_RX   (0x104)
 
#define MAC_RX_MAX_SIZE   (0x3FFF0000)
 
#define MAC_RX_MAX_SIZE_SHIFT   (16)
 
#define MAC_RX_FCS_STRIP   (0x00000010)
 
#define MAC_RX_FSE   (0x00000004)
 
#define MAC_RX_RXD   (0x00000002)
 
#define MAC_RX_RXEN   (0x00000001)
 
#define MAC_TX   (0x108)
 
#define MAC_TX_BFCS   (0x00000004)
 
#define MAC_TX_TXD   (0x00000002)
 
#define MAC_TX_TXEN   (0x00000001)
 
#define FLOW   (0x10C)
 
#define FLOW_FORCE_FC   (0x80000000)
 
#define FLOW_TX_FCEN   (0x40000000)
 
#define FLOW_RX_FCEN   (0x20000000)
 
#define FLOW_FPF   (0x10000000)
 
#define FLOW_PAUSE_TIME   (0x0000FFFF)
 
#define RAND_SEED   (0x110)
 
#define RAND_SEED_MASK   (0x0000FFFF)
 
#define ERR_STS   (0x114)
 
#define ERR_STS_FCS_ERR   (0x00000100)
 
#define ERR_STS_LFRM_ERR   (0x00000080)
 
#define ERR_STS_RUNT_ERR   (0x00000040)
 
#define ERR_STS_COLLISION_ERR   (0x00000010)
 
#define ERR_STS_ALIGN_ERR   (0x00000008)
 
#define ERR_STS_URUN_ERR   (0x00000004)
 
#define RX_ADDRH   (0x118)
 
#define RX_ADDRH_MASK   (0x0000FFFF)
 
#define RX_ADDRL   (0x11C)
 
#define MII_ACCESS   (0x120)
 
#define MII_ACCESS_PHY_ADDR   (0x0000F800)
 
#define MII_ACCESS_PHY_ADDR_SHIFT   (11)
 
#define MII_ACCESS_REG_ADDR   (0x000007C0)
 
#define MII_ACCESS_REG_ADDR_SHIFT   (6)
 
#define MII_ACCESS_READ   (0x00000000)
 
#define MII_ACCESS_WRITE   (0x00000002)
 
#define MII_ACCESS_BUSY   (0x00000001)
 
#define MII_DATA   (0x124)
 
#define MII_DATA_MASK   (0x0000FFFF)
 
#define WUCSR   (0x140)
 
#define WUCSR_PFDA_FR   (0x00000080)
 
#define WUCSR_WUFR   (0x00000040)
 
#define WUCSR_MPR   (0x00000020)
 
#define WUCSR_BCAST_FR   (0x00000010)
 
#define WUCSR_PFDA_EN   (0x00000008)
 
#define WUCSR_WUEN   (0x00000004)
 
#define WUCSR_MPEN   (0x00000002)
 
#define WUCSR_BCST_EN   (0x00000001)
 
#define WUF_CFGX   (0x144)
 
#define WUF_CFGX_EN   (0x80000000)
 
#define WUF_CFGX_ATYPE   (0x03000000)
 
#define WUF_CFGX_ATYPE_UNICAST   (0x00000000)
 
#define WUF_CFGX_ATYPE_MULTICAST   (0x02000000)
 
#define WUF_CFGX_ATYPE_ALL   (0x03000000)
 
#define WUF_CFGX_PATTERN_OFFSET   (0x007F0000)
 
#define WUF_CFGX_PATTERN_OFFSET_SHIFT   (16)
 
#define WUF_CFGX_CRC16   (0x0000FFFF)
 
#define WUF_NUM   (8)
 
#define WUF_MASKX   (0x170)
 
#define WUF_MASKX_AVALID   (0x80000000)
 
#define WUF_MASKX_ATYPE   (0x40000000)
 
#define ADDR_FILTX   (0x300)
 
#define ADDR_FILTX_FB_VALID   (0x80000000)
 
#define ADDR_FILTX_FB_TYPE   (0x40000000)
 
#define ADDR_FILTX_FB_ADDRHI   (0x0000FFFF)
 
#define ADDR_FILTX_SB_ADDRLO   (0xFFFFFFFF)
 
#define WUCSR2   (0x500)
 
#define WUCSR2_NS_RCD   (0x00000040)
 
#define WUCSR2_ARP_RCD   (0x00000020)
 
#define WUCSR2_TCPSYN_RCD   (0x00000010)
 
#define WUCSR2_NS_OFFLOAD   (0x00000004)
 
#define WUCSR2_ARP_OFFLOAD   (0x00000002)
 
#define WUCSR2_TCPSYN_OFFLOAD   (0x00000001)
 
#define WOL_FIFO_STS   (0x504)
 
#define IPV6_ADDRX   (0x510)
 
#define IPV4_ADDRX   (0x590)
 
#define PHY_MODE_CTRL_STS   (17)
 
#define MODE_CTRL_STS_EDPWRDOWN   ((u16)0x2000)
 
#define MODE_CTRL_STS_ENERGYON   ((u16)0x0002)
 
#define PHY_INT_SRC   (29)
 
#define PHY_INT_SRC_ENERGY_ON   ((u16)0x0080)
 
#define PHY_INT_SRC_ANEG_COMP   ((u16)0x0040)
 
#define PHY_INT_SRC_REMOTE_FAULT   ((u16)0x0020)
 
#define PHY_INT_SRC_LINK_DOWN   ((u16)0x0010)
 
#define PHY_INT_SRC_CLEAR_ALL   ((u16)0xffff)
 
#define PHY_INT_MASK   (30)
 
#define PHY_INT_MASK_ENERGY_ON   ((u16)0x0080)
 
#define PHY_INT_MASK_ANEG_COMP   ((u16)0x0040)
 
#define PHY_INT_MASK_REMOTE_FAULT   ((u16)0x0020)
 
#define PHY_INT_MASK_LINK_DOWN   ((u16)0x0010)
 
#define PHY_INT_MASK_DEFAULT
 
#define PHY_SPECIAL   (31)
 
#define PHY_SPECIAL_SPD   ((u16)0x001C)
 
#define PHY_SPECIAL_SPD_10HALF   ((u16)0x0004)
 
#define PHY_SPECIAL_SPD_10FULL   ((u16)0x0014)
 
#define PHY_SPECIAL_SPD_100HALF   ((u16)0x0008)
 
#define PHY_SPECIAL_SPD_100FULL   ((u16)0x0018)
 
#define USB_VENDOR_REQUEST_WRITE_REGISTER   0xA0
 
#define USB_VENDOR_REQUEST_READ_REGISTER   0xA1
 
#define USB_VENDOR_REQUEST_GET_STATS   0xA2
 
#define INT_ENP_RDFO_INT   ((u32)BIT(22))
 
#define INT_ENP_TXE_INT   ((u32)BIT(21))
 
#define INT_ENP_TX_DIS_INT   ((u32)BIT(19))
 
#define INT_ENP_RX_DIS_INT   ((u32)BIT(18))
 
#define INT_ENP_PHY_INT   ((u32)BIT(17))
 
#define INT_ENP_MAC_ERR_INT   ((u32)BIT(15))
 
#define INT_ENP_RX_FIFO_DATA_INT   ((u32)BIT(12))
 

Macro Definition Documentation

#define ADDR_FILTX   (0x300)

Definition at line 358 of file smsc75xx.h.

#define ADDR_FILTX_FB_ADDRHI   (0x0000FFFF)

Definition at line 361 of file smsc75xx.h.

#define ADDR_FILTX_FB_TYPE   (0x40000000)

Definition at line 360 of file smsc75xx.h.

#define ADDR_FILTX_FB_VALID   (0x80000000)

Definition at line 359 of file smsc75xx.h.

#define ADDR_FILTX_SB_ADDRLO   (0xFFFFFFFF)

Definition at line 362 of file smsc75xx.h.

#define BOND_CTL   (0x0008)

Definition at line 71 of file smsc75xx.h.

#define BULK_IN_DLY   (0x003C)

Definition at line 200 of file smsc75xx.h.

#define BULK_IN_DLY_MASK   (0xFFFF)

Definition at line 201 of file smsc75xx.h.

#define BURST_CAP   (0x0034)

Definition at line 183 of file smsc75xx.h.

#define BURST_CAP_MASK   (0x0000000F)

Definition at line 184 of file smsc75xx.h.

#define DP_ADDR   (0x002C)

Definition at line 179 of file smsc75xx.h.

#define DP_CMD   (0x0028)

Definition at line 175 of file smsc75xx.h.

#define DP_CMD_READ   (0x00)

Definition at line 177 of file smsc75xx.h.

#define DP_CMD_WRITE   (0x01)

Definition at line 176 of file smsc75xx.h.

#define DP_DATA   (0x0030)

Definition at line 181 of file smsc75xx.h.

#define DP_SEL   (0x0024)

Definition at line 162 of file smsc75xx.h.

#define DP_SEL_DESCRIPTOR   (0x00000005)

Definition at line 172 of file smsc75xx.h.

#define DP_SEL_DPRDY   (0x80000000)

Definition at line 163 of file smsc75xx.h.

#define DP_SEL_FCT_RX   (0x00000003)

Definition at line 170 of file smsc75xx.h.

#define DP_SEL_FCT_TX   (0x00000004)

Definition at line 171 of file smsc75xx.h.

#define DP_SEL_LSO_HEAD   (0x00000002)

Definition at line 169 of file smsc75xx.h.

#define DP_SEL_RSEL   (0x0000000F)

Definition at line 164 of file smsc75xx.h.

#define DP_SEL_URX   (0x00000000)

Definition at line 165 of file smsc75xx.h.

#define DP_SEL_VHF   (0x00000001)

Definition at line 166 of file smsc75xx.h.

#define DP_SEL_VHF_HASH_LEN   (16)

Definition at line 167 of file smsc75xx.h.

#define DP_SEL_VHF_VLAN_LEN   (128)

Definition at line 168 of file smsc75xx.h.

#define DP_SEL_WOL   (0x00000006)

Definition at line 173 of file smsc75xx.h.

#define E2P_CMD   (0x0040)

Definition at line 203 of file smsc75xx.h.

#define E2P_CMD_ADDR   (0x000001FF)

Definition at line 216 of file smsc75xx.h.

#define E2P_CMD_BUSY   (0x80000000)

Definition at line 204 of file smsc75xx.h.

#define E2P_CMD_ERAL   (0x60000000)

Definition at line 212 of file smsc75xx.h.

#define E2P_CMD_ERASE   (0x50000000)

Definition at line 211 of file smsc75xx.h.

#define E2P_CMD_EWDS   (0x10000000)

Definition at line 207 of file smsc75xx.h.

#define E2P_CMD_EWEN   (0x20000000)

Definition at line 208 of file smsc75xx.h.

#define E2P_CMD_LOADED   (0x00000200)

Definition at line 215 of file smsc75xx.h.

#define E2P_CMD_MASK   (0x70000000)

Definition at line 205 of file smsc75xx.h.

#define E2P_CMD_READ   (0x00000000)

Definition at line 206 of file smsc75xx.h.

#define E2P_CMD_RELOAD   (0x70000000)

Definition at line 213 of file smsc75xx.h.

#define E2P_CMD_TIMEOUT   (0x00000400)

Definition at line 214 of file smsc75xx.h.

#define E2P_CMD_WRAL   (0x40000000)

Definition at line 210 of file smsc75xx.h.

#define E2P_CMD_WRITE   (0x30000000)

Definition at line 209 of file smsc75xx.h.

#define E2P_DATA   (0x0044)

Definition at line 220 of file smsc75xx.h.

#define E2P_DATA_MASK_   (0x000000FF)

Definition at line 221 of file smsc75xx.h.

#define ERR_STS   (0x114)

Definition at line 308 of file smsc75xx.h.

#define ERR_STS_ALIGN_ERR   (0x00000008)

Definition at line 313 of file smsc75xx.h.

#define ERR_STS_COLLISION_ERR   (0x00000010)

Definition at line 312 of file smsc75xx.h.

#define ERR_STS_FCS_ERR   (0x00000100)

Definition at line 309 of file smsc75xx.h.

#define ERR_STS_LFRM_ERR   (0x00000080)

Definition at line 310 of file smsc75xx.h.

#define ERR_STS_RUNT_ERR   (0x00000040)

Definition at line 311 of file smsc75xx.h.

#define ERR_STS_URUN_ERR   (0x00000004)

Definition at line 314 of file smsc75xx.h.

#define FCT_FLOW   (0x00A0)

Definition at line 266 of file smsc75xx.h.

#define FCT_FLOW_THRESHOLD_OFF   (0x00007F00)

Definition at line 267 of file smsc75xx.h.

#define FCT_FLOW_THRESHOLD_OFF_SHIFT   (8)

Definition at line 268 of file smsc75xx.h.

#define FCT_FLOW_THRESHOLD_ON   (0x0000007F)

Definition at line 269 of file smsc75xx.h.

#define FCT_RX_CTL   (0x0090)

Definition at line 241 of file smsc75xx.h.

#define FCT_RX_CTL_EN   (0x80000000)

Definition at line 242 of file smsc75xx.h.

#define FCT_RX_CTL_FRM_DROP   (0x00800000)

Definition at line 246 of file smsc75xx.h.

#define FCT_RX_CTL_OVERFLOW   (0x01000000)

Definition at line 245 of file smsc75xx.h.

#define FCT_RX_CTL_RST   (0x40000000)

Definition at line 243 of file smsc75xx.h.

#define FCT_RX_CTL_RX_DISABLED   (0x00100000)

Definition at line 249 of file smsc75xx.h.

#define FCT_RX_CTL_RX_EMPTY   (0x00200000)

Definition at line 248 of file smsc75xx.h.

#define FCT_RX_CTL_RX_NOT_EMPTY   (0x00400000)

Definition at line 247 of file smsc75xx.h.

#define FCT_RX_CTL_RXUSED   (0x0000FFFF)

Definition at line 250 of file smsc75xx.h.

#define FCT_RX_CTL_SBF   (0x02000000)

Definition at line 244 of file smsc75xx.h.

#define FCT_RX_FIFO_END   (0x0098)

Definition at line 260 of file smsc75xx.h.

#define FCT_RX_FIFO_END_MASK   (0x0000007F)

Definition at line 261 of file smsc75xx.h.

#define FCT_TX_CTL   (0x0094)

Definition at line 252 of file smsc75xx.h.

#define FCT_TX_CTL_EN   (0x80000000)

Definition at line 253 of file smsc75xx.h.

#define FCT_TX_CTL_RST   (0x40000000)

Definition at line 254 of file smsc75xx.h.

#define FCT_TX_CTL_TX_DISABLED   (0x00100000)

Definition at line 257 of file smsc75xx.h.

#define FCT_TX_CTL_TX_EMPTY   (0x00200000)

Definition at line 256 of file smsc75xx.h.

#define FCT_TX_CTL_TX_NOT_EMPTY   (0x00400000)

Definition at line 255 of file smsc75xx.h.

#define FCT_TX_CTL_TXUSED   (0x0000FFFF)

Definition at line 258 of file smsc75xx.h.

#define FCT_TX_FIFO_END   (0x009C)

Definition at line 263 of file smsc75xx.h.

#define FCT_TX_FIFO_END_MASK   (0x0000003F)

Definition at line 264 of file smsc75xx.h.

#define FLOW   (0x10C)

Definition at line 298 of file smsc75xx.h.

#define FLOW_FORCE_FC   (0x80000000)

Definition at line 299 of file smsc75xx.h.

#define FLOW_FPF   (0x10000000)

Definition at line 302 of file smsc75xx.h.

#define FLOW_PAUSE_TIME   (0x0000FFFF)

Definition at line 303 of file smsc75xx.h.

#define FLOW_RX_FCEN   (0x20000000)

Definition at line 301 of file smsc75xx.h.

#define FLOW_TX_FCEN   (0x40000000)

Definition at line 300 of file smsc75xx.h.

#define FPGA_REV   (0x0004)

Definition at line 69 of file smsc75xx.h.

#define GPIO_CFG   (0x001C)

Definition at line 149 of file smsc75xx.h.

#define GPIO_CFG_GPBUF   (0x00FF0000)

Definition at line 152 of file smsc75xx.h.

#define GPIO_CFG_GPDATA   (0x000000FF)

Definition at line 154 of file smsc75xx.h.

#define GPIO_CFG_GPDIR   (0x0000FF00)

Definition at line 153 of file smsc75xx.h.

#define GPIO_CFG_GPEN   (0xFF000000)

Definition at line 151 of file smsc75xx.h.

#define GPIO_CFG_SHIFT   (24)

Definition at line 150 of file smsc75xx.h.

#define GPIO_WAKE   (0x0020)

Definition at line 156 of file smsc75xx.h.

#define GPIO_WAKE_PHY_LINKUP_EN   (0x80000000)

Definition at line 157 of file smsc75xx.h.

#define GPIO_WAKE_POL   (0x0FFF0000)

Definition at line 158 of file smsc75xx.h.

#define GPIO_WAKE_POL_SHIFT   (16)

Definition at line 159 of file smsc75xx.h.

#define GPIO_WAKE_WK   (0x00000FFF)

Definition at line 160 of file smsc75xx.h.

#define HW_CFG   (0x0010)

Definition at line 86 of file smsc75xx.h.

#define HW_CFG_BCE   (0x00000004)

Definition at line 103 of file smsc75xx.h.

#define HW_CFG_BIR   (0x00000080)

Definition at line 98 of file smsc75xx.h.

#define HW_CFG_EEM   (0x00002000)

Definition at line 89 of file smsc75xx.h.

#define HW_CFG_ETC   (0x00000008)

Definition at line 102 of file smsc75xx.h.

#define HW_CFG_IME   (0x00000020)

Definition at line 100 of file smsc75xx.h.

#define HW_CFG_LEDB   (0x00000100)

Definition at line 97 of file smsc75xx.h.

#define HW_CFG_LRST   (0x00000002)

Definition at line 104 of file smsc75xx.h.

#define HW_CFG_MEF   (0x00000010)

Definition at line 101 of file smsc75xx.h.

#define HW_CFG_PHY_BOOST   (0x00000600)

Definition at line 92 of file smsc75xx.h.

#define HW_CFG_PHY_BOOST_12   (0x00006000)

Definition at line 96 of file smsc75xx.h.

#define HW_CFG_PHY_BOOST_4   (0x00002000)

Definition at line 94 of file smsc75xx.h.

#define HW_CFG_PHY_BOOST_8   (0x00004000)

Definition at line 95 of file smsc75xx.h.

#define HW_CFG_PHY_BOOST_NORMAL   (0x00000000)

Definition at line 93 of file smsc75xx.h.

#define HW_CFG_PORT_SWAP   (0x00000800)

Definition at line 91 of file smsc75xx.h.

#define HW_CFG_RST_PROTECT   (0x00001000)

Definition at line 90 of file smsc75xx.h.

#define HW_CFG_SBP   (0x00000040)

Definition at line 99 of file smsc75xx.h.

#define HW_CFG_SMDET_EN   (0x00004000)

Definition at line 88 of file smsc75xx.h.

#define HW_CFG_SMDET_STS   (0x00008000)

Definition at line 87 of file smsc75xx.h.

#define HW_CFG_SRST   (0x00000001)

Definition at line 105 of file smsc75xx.h.

#define ID_REV   (0x0000)

Definition at line 67 of file smsc75xx.h.

#define INT_ENP_MAC_ERR_INT   ((u32)BIT(15))

Definition at line 419 of file smsc75xx.h.

#define INT_ENP_PHY_INT   ((u32)BIT(17))

Definition at line 418 of file smsc75xx.h.

#define INT_ENP_RDFO_INT   ((u32)BIT(22))

Definition at line 414 of file smsc75xx.h.

#define INT_ENP_RX_DIS_INT   ((u32)BIT(18))

Definition at line 417 of file smsc75xx.h.

#define INT_ENP_RX_FIFO_DATA_INT   ((u32)BIT(12))

Definition at line 420 of file smsc75xx.h.

#define INT_ENP_TX_DIS_INT   ((u32)BIT(19))

Definition at line 416 of file smsc75xx.h.

#define INT_ENP_TXE_INT   ((u32)BIT(21))

Definition at line 415 of file smsc75xx.h.

#define INT_EP_CTL   (0x0038)

Definition at line 186 of file smsc75xx.h.

#define INT_EP_CTL_GPIOX_EN   (0x00000FFF)

Definition at line 198 of file smsc75xx.h.

#define INT_EP_CTL_INTEP_ON   (0x80000000)

Definition at line 187 of file smsc75xx.h.

#define INT_EP_CTL_MAC_ERR_EN   (0x00008000)

Definition at line 194 of file smsc75xx.h.

#define INT_EP_CTL_MACROTO_EN   (0x00100000)

Definition at line 190 of file smsc75xx.h.

#define INT_EP_CTL_PHY_EN_   (0x00020000)

Definition at line 193 of file smsc75xx.h.

#define INT_EP_CTL_RDFO_EN   (0x00400000)

Definition at line 188 of file smsc75xx.h.

#define INT_EP_CTL_RX_DIS_EN   (0x00040000)

Definition at line 192 of file smsc75xx.h.

#define INT_EP_CTL_RX_FIFO_EN   (0x00001000)

Definition at line 197 of file smsc75xx.h.

#define INT_EP_CTL_TDFO_EN   (0x00002000)

Definition at line 196 of file smsc75xx.h.

#define INT_EP_CTL_TDFU_EN   (0x00004000)

Definition at line 195 of file smsc75xx.h.

#define INT_EP_CTL_TX_DIS_EN   (0x00080000)

Definition at line 191 of file smsc75xx.h.

#define INT_EP_CTL_TXE_EN   (0x00200000)

Definition at line 189 of file smsc75xx.h.

#define INT_STS   (0x000C)

Definition at line 73 of file smsc75xx.h.

#define INT_STS_CLEAR_ALL   (0xFFFFFFFF)

Definition at line 84 of file smsc75xx.h.

#define INT_STS_GPIOS   (0x00000FFF)

Definition at line 83 of file smsc75xx.h.

#define INT_STS_MAC_ERR_INT   (0x00008000)

Definition at line 80 of file smsc75xx.h.

#define INT_STS_MACRTO_INT   (0x00100000)

Definition at line 76 of file smsc75xx.h.

#define INT_STS_PHY_INT_   (0x00020000)

Definition at line 79 of file smsc75xx.h.

#define INT_STS_RDFO_INT   (0x00400000)

Definition at line 74 of file smsc75xx.h.

#define INT_STS_RX_DIS_INT   (0x00040000)

Definition at line 78 of file smsc75xx.h.

#define INT_STS_TDFO   (0x00002000)

Definition at line 82 of file smsc75xx.h.

#define INT_STS_TDFU   (0x00004000)

Definition at line 81 of file smsc75xx.h.

#define INT_STS_TX_DIS_INT   (0x00080000)

Definition at line 77 of file smsc75xx.h.

#define INT_STS_TXE_INT   (0x00200000)

Definition at line 75 of file smsc75xx.h.

#define IPV4_ADDRX   (0x590)

Definition at line 376 of file smsc75xx.h.

#define IPV6_ADDRX   (0x510)

Definition at line 374 of file smsc75xx.h.

#define LED_GPIO_CFG   (0x0018)

Definition at line 125 of file smsc75xx.h.

#define LED_GPIO_CFG_GPBUF   (0x00000F00)

Definition at line 133 of file smsc75xx.h.

#define LED_GPIO_CFG_GPBUF_0   (0x00000100)

Definition at line 134 of file smsc75xx.h.

#define LED_GPIO_CFG_GPBUF_1   (0x00000200)

Definition at line 135 of file smsc75xx.h.

#define LED_GPIO_CFG_GPBUF_2   (0x00000400)

Definition at line 136 of file smsc75xx.h.

#define LED_GPIO_CFG_GPBUF_3   (0x00000800)

Definition at line 137 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDATA   (0x0000000F)

Definition at line 143 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDATA_0   (0x00000001)

Definition at line 144 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDATA_1   (0x00000002)

Definition at line 145 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDATA_2   (0x00000004)

Definition at line 146 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDATA_3   (0x00000008)

Definition at line 147 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDIR   (0x000000F0)

Definition at line 138 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDIR_0   (0x00000010)

Definition at line 139 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDIR_1   (0x00000020)

Definition at line 140 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDIR_2   (0x00000040)

Definition at line 141 of file smsc75xx.h.

#define LED_GPIO_CFG_GPDIR_3   (0x00000080)

Definition at line 142 of file smsc75xx.h.

#define LED_GPIO_CFG_LED10_FUN_SEL   (0x40000000)

Definition at line 127 of file smsc75xx.h.

#define LED_GPIO_CFG_LED2_FUN_SEL   (0x80000000)

Definition at line 126 of file smsc75xx.h.

#define LED_GPIO_CFG_LEDGPIO_EN   (0x0000F000)

Definition at line 128 of file smsc75xx.h.

#define LED_GPIO_CFG_LEDGPIO_EN_0   (0x00001000)

Definition at line 129 of file smsc75xx.h.

#define LED_GPIO_CFG_LEDGPIO_EN_1   (0x00002000)

Definition at line 130 of file smsc75xx.h.

#define LED_GPIO_CFG_LEDGPIO_EN_2   (0x00004000)

Definition at line 131 of file smsc75xx.h.

#define LED_GPIO_CFG_LEDGPIO_EN_3   (0x00008000)

Definition at line 132 of file smsc75xx.h.

#define MAC_CR   (0x100)

Definition at line 272 of file smsc75xx.h.

#define MAC_CR_ADD   (0x00001000)

Definition at line 274 of file smsc75xx.h.

#define MAC_CR_ADP   (0x00002000)

Definition at line 273 of file smsc75xx.h.

#define MAC_CR_ASD   (0x00000800)

Definition at line 275 of file smsc75xx.h.

#define MAC_CR_BOLMT   (0x000000C0)

Definition at line 277 of file smsc75xx.h.

#define MAC_CR_CFG   (0x00000006)

Definition at line 279 of file smsc75xx.h.

#define MAC_CR_CFG_10   (0x00000000)

Definition at line 280 of file smsc75xx.h.

#define MAC_CR_CFG_100   (0x00000002)

Definition at line 281 of file smsc75xx.h.

#define MAC_CR_CFG_1000   (0x00000004)

Definition at line 282 of file smsc75xx.h.

#define MAC_CR_FDPX   (0x00000008)

Definition at line 278 of file smsc75xx.h.

#define MAC_CR_INT_LOOP   (0x00000400)

Definition at line 276 of file smsc75xx.h.

#define MAC_CR_RST   (0x00000001)

Definition at line 283 of file smsc75xx.h.

#define MAC_RX   (0x104)

Definition at line 285 of file smsc75xx.h.

#define MAC_RX_FCS_STRIP   (0x00000010)

Definition at line 288 of file smsc75xx.h.

#define MAC_RX_FSE   (0x00000004)

Definition at line 289 of file smsc75xx.h.

#define MAC_RX_MAX_SIZE   (0x3FFF0000)

Definition at line 286 of file smsc75xx.h.

#define MAC_RX_MAX_SIZE_SHIFT   (16)

Definition at line 287 of file smsc75xx.h.

#define MAC_RX_RXD   (0x00000002)

Definition at line 290 of file smsc75xx.h.

#define MAC_RX_RXEN   (0x00000001)

Definition at line 291 of file smsc75xx.h.

#define MAC_TX   (0x108)

Definition at line 293 of file smsc75xx.h.

#define MAC_TX_BFCS   (0x00000004)

Definition at line 294 of file smsc75xx.h.

#define MAC_TX_TXD   (0x00000002)

Definition at line 295 of file smsc75xx.h.

#define MAC_TX_TXEN   (0x00000001)

Definition at line 296 of file smsc75xx.h.

#define MAX_EEPROM_SIZE   (512)

Definition at line 218 of file smsc75xx.h.

#define MII_ACCESS   (0x120)

Definition at line 321 of file smsc75xx.h.

#define MII_ACCESS_BUSY   (0x00000001)

Definition at line 328 of file smsc75xx.h.

#define MII_ACCESS_PHY_ADDR   (0x0000F800)

Definition at line 322 of file smsc75xx.h.

#define MII_ACCESS_PHY_ADDR_SHIFT   (11)

Definition at line 323 of file smsc75xx.h.

#define MII_ACCESS_READ   (0x00000000)

Definition at line 326 of file smsc75xx.h.

#define MII_ACCESS_REG_ADDR   (0x000007C0)

Definition at line 324 of file smsc75xx.h.

#define MII_ACCESS_REG_ADDR_SHIFT   (6)

Definition at line 325 of file smsc75xx.h.

#define MII_ACCESS_WRITE   (0x00000002)

Definition at line 327 of file smsc75xx.h.

#define MII_DATA   (0x124)

Definition at line 330 of file smsc75xx.h.

#define MII_DATA_MASK   (0x0000FFFF)

Definition at line 331 of file smsc75xx.h.

#define MODE_CTRL_STS_EDPWRDOWN   ((u16)0x2000)

Definition at line 383 of file smsc75xx.h.

#define MODE_CTRL_STS_ENERGYON   ((u16)0x0002)

Definition at line 384 of file smsc75xx.h.

#define PHY_INT_MASK   (30)

Definition at line 393 of file smsc75xx.h.

#define PHY_INT_MASK_ANEG_COMP   ((u16)0x0040)

Definition at line 395 of file smsc75xx.h.

#define PHY_INT_MASK_DEFAULT
Value:
PHY_INT_MASK_LINK_DOWN)

Definition at line 398 of file smsc75xx.h.

#define PHY_INT_MASK_ENERGY_ON   ((u16)0x0080)

Definition at line 394 of file smsc75xx.h.

#define PHY_INT_MASK_LINK_DOWN   ((u16)0x0010)

Definition at line 397 of file smsc75xx.h.

#define PHY_INT_MASK_REMOTE_FAULT   ((u16)0x0020)

Definition at line 396 of file smsc75xx.h.

#define PHY_INT_SRC   (29)

Definition at line 386 of file smsc75xx.h.

#define PHY_INT_SRC_ANEG_COMP   ((u16)0x0040)

Definition at line 388 of file smsc75xx.h.

#define PHY_INT_SRC_CLEAR_ALL   ((u16)0xffff)

Definition at line 391 of file smsc75xx.h.

#define PHY_INT_SRC_ENERGY_ON   ((u16)0x0080)

Definition at line 387 of file smsc75xx.h.

#define PHY_INT_SRC_LINK_DOWN   ((u16)0x0010)

Definition at line 390 of file smsc75xx.h.

#define PHY_INT_SRC_REMOTE_FAULT   ((u16)0x0020)

Definition at line 389 of file smsc75xx.h.

#define PHY_MODE_CTRL_STS   (17)

Definition at line 382 of file smsc75xx.h.

#define PHY_SPECIAL   (31)

Definition at line 401 of file smsc75xx.h.

#define PHY_SPECIAL_SPD   ((u16)0x001C)

Definition at line 402 of file smsc75xx.h.

#define PHY_SPECIAL_SPD_100FULL   ((u16)0x0018)

Definition at line 406 of file smsc75xx.h.

#define PHY_SPECIAL_SPD_100HALF   ((u16)0x0008)

Definition at line 405 of file smsc75xx.h.

#define PHY_SPECIAL_SPD_10FULL   ((u16)0x0014)

Definition at line 404 of file smsc75xx.h.

#define PHY_SPECIAL_SPD_10HALF   ((u16)0x0004)

Definition at line 403 of file smsc75xx.h.

#define PMT_CTL   (0x0014)

Definition at line 107 of file smsc75xx.h.

#define PMT_CTL_DEV_RDY   (0x00000080)

Definition at line 110 of file smsc75xx.h.

#define PMT_CTL_ED_EN   (0x00000004)

Definition at line 118 of file smsc75xx.h.

#define PMT_CTL_PHY_PWRUP   (0x00000400)

Definition at line 108 of file smsc75xx.h.

#define PMT_CTL_PHY_RST   (0x00000010)

Definition at line 116 of file smsc75xx.h.

#define PMT_CTL_RES_CLR_WKP_EN   (0x00000100)

Definition at line 109 of file smsc75xx.h.

#define PMT_CTL_SUS_MODE   (0x00000060)

Definition at line 111 of file smsc75xx.h.

#define PMT_CTL_SUS_MODE_0   (0x00000000)

Definition at line 112 of file smsc75xx.h.

#define PMT_CTL_SUS_MODE_1   (0x00000020)

Definition at line 113 of file smsc75xx.h.

#define PMT_CTL_SUS_MODE_2   (0x00000040)

Definition at line 114 of file smsc75xx.h.

#define PMT_CTL_SUS_MODE_3   (0x00000060)

Definition at line 115 of file smsc75xx.h.

#define PMT_CTL_WOL_EN   (0x00000008)

Definition at line 117 of file smsc75xx.h.

#define PMT_CTL_WUPS   (0x00000003)

Definition at line 119 of file smsc75xx.h.

#define PMT_CTL_WUPS_ED   (0x00000001)

Definition at line 121 of file smsc75xx.h.

#define PMT_CTL_WUPS_MULTI   (0x00000003)

Definition at line 123 of file smsc75xx.h.

#define PMT_CTL_WUPS_NO   (0x00000000)

Definition at line 120 of file smsc75xx.h.

#define PMT_CTL_WUPS_WOL   (0x00000002)

Definition at line 122 of file smsc75xx.h.

#define RAND_SEED   (0x110)

Definition at line 305 of file smsc75xx.h.

#define RAND_SEED_MASK   (0x0000FFFF)

Definition at line 306 of file smsc75xx.h.

#define RFE_CTL   (0x0060)

Definition at line 223 of file smsc75xx.h.

#define RFE_CTL_AB   (0x00000400)

Definition at line 226 of file smsc75xx.h.

#define RFE_CTL_AM   (0x00000200)

Definition at line 227 of file smsc75xx.h.

#define RFE_CTL_AU   (0x00000100)

Definition at line 228 of file smsc75xx.h.

#define RFE_CTL_DHF   (0x00000004)

Definition at line 234 of file smsc75xx.h.

#define RFE_CTL_DPF   (0x00000002)

Definition at line 235 of file smsc75xx.h.

#define RFE_CTL_IP_CKM   (0x00000800)

Definition at line 225 of file smsc75xx.h.

#define RFE_CTL_MHF   (0x00000008)

Definition at line 233 of file smsc75xx.h.

#define RFE_CTL_RST_RF   (0x00000001)

Definition at line 236 of file smsc75xx.h.

#define RFE_CTL_SPF   (0x00000010)

Definition at line 232 of file smsc75xx.h.

#define RFE_CTL_TCPUDP_CKM   (0x00001000)

Definition at line 224 of file smsc75xx.h.

#define RFE_CTL_UF   (0x00000040)

Definition at line 230 of file smsc75xx.h.

#define RFE_CTL_VF   (0x00000020)

Definition at line 231 of file smsc75xx.h.

#define RFE_CTL_VS   (0x00000080)

Definition at line 229 of file smsc75xx.h.

#define RX_ADDRH   (0x118)

Definition at line 316 of file smsc75xx.h.

#define RX_ADDRH_MASK   (0x0000FFFF)

Definition at line 317 of file smsc75xx.h.

#define RX_ADDRL   (0x11C)

Definition at line 319 of file smsc75xx.h.

#define RX_CMD_A_BAM   (0x02000000)

Definition at line 48 of file smsc75xx.h.

#define RX_CMD_A_DRB   (0x00020000)

Definition at line 56 of file smsc75xx.h.

#define RX_CMD_A_FCS   (0x00010000)

Definition at line 57 of file smsc75xx.h.

#define RX_CMD_A_FVTG   (0x00800000)

Definition at line 50 of file smsc75xx.h.

#define RX_CMD_A_ICE   (0x80000000)

Definition at line 39 of file smsc75xx.h.

#define RX_CMD_A_IPV   (0x20000000)

Definition at line 41 of file smsc75xx.h.

#define RX_CMD_A_LCSM   (0x00004000)

Definition at line 59 of file smsc75xx.h.

#define RX_CMD_A_LEN   (0x00003FFF)

Definition at line 60 of file smsc75xx.h.

#define RX_CMD_A_LONG   (0x00080000)

Definition at line 54 of file smsc75xx.h.

#define RX_CMD_A_MAM   (0x01000000)

Definition at line 49 of file smsc75xx.h.

#define RX_CMD_A_PFF   (0x04000000)

Definition at line 47 of file smsc75xx.h.

#define RX_CMD_A_PID   (0x18000000)

Definition at line 42 of file smsc75xx.h.

#define RX_CMD_A_PID_NIP   (0x00000000)

Definition at line 43 of file smsc75xx.h.

#define RX_CMD_A_PID_PP   (0x18000000)

Definition at line 46 of file smsc75xx.h.

#define RX_CMD_A_PID_TCP   (0x08000000)

Definition at line 44 of file smsc75xx.h.

#define RX_CMD_A_PID_UDP   (0x10000000)

Definition at line 45 of file smsc75xx.h.

#define RX_CMD_A_RED   (0x00400000)

Definition at line 51 of file smsc75xx.h.

#define RX_CMD_A_RUNT   (0x00100000)

Definition at line 53 of file smsc75xx.h.

#define RX_CMD_A_RWT   (0x00200000)

Definition at line 52 of file smsc75xx.h.

#define RX_CMD_A_RXE   (0x00040000)

Definition at line 55 of file smsc75xx.h.

#define RX_CMD_A_TCE   (0x40000000)

Definition at line 40 of file smsc75xx.h.

#define RX_CMD_A_UAM   (0x00008000)

Definition at line 58 of file smsc75xx.h.

#define RX_CMD_B_CSUM   (0xFFFF0000)

Definition at line 62 of file smsc75xx.h.

#define RX_CMD_B_CSUM_SHIFT   (16)

Definition at line 63 of file smsc75xx.h.

#define RX_CMD_B_VTAG   (0x0000FFFF)

Definition at line 64 of file smsc75xx.h.

#define TX_CMD_A_FCS   (0x00400000)

Definition at line 30 of file smsc75xx.h.

#define TX_CMD_A_IPE   (0x04000000)

Definition at line 26 of file smsc75xx.h.

#define TX_CMD_A_IVTG   (0x01000000)

Definition at line 28 of file smsc75xx.h.

#define TX_CMD_A_LEN   (0x000FFFFF)

Definition at line 31 of file smsc75xx.h.

#define TX_CMD_A_LSO   (0x08000000)

Definition at line 25 of file smsc75xx.h.

#define TX_CMD_A_RVTG   (0x00800000)

Definition at line 29 of file smsc75xx.h.

#define TX_CMD_A_TPE   (0x02000000)

Definition at line 27 of file smsc75xx.h.

#define TX_CMD_B_MSS   (0x3FFF0000)

Definition at line 33 of file smsc75xx.h.

#define TX_CMD_B_MSS_SHIFT   (16)

Definition at line 34 of file smsc75xx.h.

#define TX_CMD_B_VTAG   (0x0000FFFF)

Definition at line 36 of file smsc75xx.h.

#define TX_MSS_MIN   ((u16)8)

Definition at line 35 of file smsc75xx.h.

#define USB_VENDOR_REQUEST_GET_STATS   0xA2

Definition at line 411 of file smsc75xx.h.

#define USB_VENDOR_REQUEST_READ_REGISTER   0xA1

Definition at line 410 of file smsc75xx.h.

#define USB_VENDOR_REQUEST_WRITE_REGISTER   0xA0

Definition at line 409 of file smsc75xx.h.

#define VLAN_TYPE   (0x0064)

Definition at line 238 of file smsc75xx.h.

#define VLAN_TYPE_MASK   (0x0000FFFF)

Definition at line 239 of file smsc75xx.h.

#define WOL_FIFO_STS   (0x504)

Definition at line 372 of file smsc75xx.h.

#define WUCSR   (0x140)

Definition at line 333 of file smsc75xx.h.

#define WUCSR2   (0x500)

Definition at line 364 of file smsc75xx.h.

#define WUCSR2_ARP_OFFLOAD   (0x00000002)

Definition at line 369 of file smsc75xx.h.

#define WUCSR2_ARP_RCD   (0x00000020)

Definition at line 366 of file smsc75xx.h.

#define WUCSR2_NS_OFFLOAD   (0x00000004)

Definition at line 368 of file smsc75xx.h.

#define WUCSR2_NS_RCD   (0x00000040)

Definition at line 365 of file smsc75xx.h.

#define WUCSR2_TCPSYN_OFFLOAD   (0x00000001)

Definition at line 370 of file smsc75xx.h.

#define WUCSR2_TCPSYN_RCD   (0x00000010)

Definition at line 367 of file smsc75xx.h.

#define WUCSR_BCAST_FR   (0x00000010)

Definition at line 337 of file smsc75xx.h.

#define WUCSR_BCST_EN   (0x00000001)

Definition at line 341 of file smsc75xx.h.

#define WUCSR_MPEN   (0x00000002)

Definition at line 340 of file smsc75xx.h.

#define WUCSR_MPR   (0x00000020)

Definition at line 336 of file smsc75xx.h.

#define WUCSR_PFDA_EN   (0x00000008)

Definition at line 338 of file smsc75xx.h.

#define WUCSR_PFDA_FR   (0x00000080)

Definition at line 334 of file smsc75xx.h.

#define WUCSR_WUEN   (0x00000004)

Definition at line 339 of file smsc75xx.h.

#define WUCSR_WUFR   (0x00000040)

Definition at line 335 of file smsc75xx.h.

#define WUF_CFGX   (0x144)

Definition at line 343 of file smsc75xx.h.

#define WUF_CFGX_ATYPE   (0x03000000)

Definition at line 345 of file smsc75xx.h.

#define WUF_CFGX_ATYPE_ALL   (0x03000000)

Definition at line 348 of file smsc75xx.h.

#define WUF_CFGX_ATYPE_MULTICAST   (0x02000000)

Definition at line 347 of file smsc75xx.h.

#define WUF_CFGX_ATYPE_UNICAST   (0x00000000)

Definition at line 346 of file smsc75xx.h.

#define WUF_CFGX_CRC16   (0x0000FFFF)

Definition at line 351 of file smsc75xx.h.

#define WUF_CFGX_EN   (0x80000000)

Definition at line 344 of file smsc75xx.h.

#define WUF_CFGX_PATTERN_OFFSET   (0x007F0000)

Definition at line 349 of file smsc75xx.h.

#define WUF_CFGX_PATTERN_OFFSET_SHIFT   (16)

Definition at line 350 of file smsc75xx.h.

#define WUF_MASKX   (0x170)

Definition at line 354 of file smsc75xx.h.

#define WUF_MASKX_ATYPE   (0x40000000)

Definition at line 356 of file smsc75xx.h.

#define WUF_MASKX_AVALID   (0x80000000)

Definition at line 355 of file smsc75xx.h.

#define WUF_NUM   (8)

Definition at line 352 of file smsc75xx.h.