#ifndef _SR9800_H
#define _SR9800_H
#define SR_CMD_SET_SW_MII …
#define SR_CMD_READ_MII_REG …
#define SR_CMD_WRITE_MII_REG …
#define SR_CMD_SET_HW_MII …
#define SR_CMD_READ_EEPROM …
#define SR_CMD_WRITE_EEPROM …
#define SR_CMD_WRITE_ENABLE …
#define SR_CMD_WRITE_DISABLE …
#define SR_CMD_READ_RX_CTL …
#define SR_RX_CTL_PRO …
#define SR_RX_CTL_AMALL …
#define SR_RX_CTL_SEP …
#define SR_RX_CTL_AB …
#define SR_RX_CTL_AM …
#define SR_RX_CTL_AP …
#define SR_RX_CTL_ARP …
#define SR_RX_CTL_SO …
#define SR_RX_CTL_RH1M …
#define SR_RX_CTL_RH2M …
#define SR_RX_CTL_RH3M …
#define SR_CMD_WRITE_RX_CTL …
#define SR_CMD_READ_IPG012 …
#define SR_CMD_WRITE_IPG012 …
#define SR_CMD_READ_NODE_ID …
#define SR_CMD_WRITE_NODE_ID …
#define SR_CMD_READ_MULTI_FILTER …
#define SR_CMD_WRITE_MULTI_FILTER …
#define SR_CMD_READ_PHY_ID …
#define SR_CMD_READ_MEDIUM_STATUS …
#define SR_MONITOR_LINK …
#define SR_MONITOR_MAGIC …
#define SR_MONITOR_HSFS …
#define SR_CMD_WRITE_MEDIUM_MODE …
#define SR_MEDIUM_GM …
#define SR_MEDIUM_FD …
#define SR_MEDIUM_AC …
#define SR_MEDIUM_ENCK …
#define SR_MEDIUM_RFC …
#define SR_MEDIUM_TFC …
#define SR_MEDIUM_JFE …
#define SR_MEDIUM_PF …
#define SR_MEDIUM_RE …
#define SR_MEDIUM_PS …
#define SR_MEDIUM_RSV …
#define SR_MEDIUM_SBP …
#define SR_MEDIUM_SM …
#define SR_CMD_READ_MONITOR_MODE …
#define SR_CMD_WRITE_MONITOR_MODE …
#define SR_CMD_READ_GPIOS …
#define SR_GPIO_GPO0EN …
#define SR_GPIO_GPO_0 …
#define SR_GPIO_GPO1EN …
#define SR_GPIO_GPO_1 …
#define SR_GPIO_GPO2EN …
#define SR_GPIO_GPO_2 …
#define SR_GPIO_RESERVED …
#define SR_GPIO_RSE …
#define SR_CMD_WRITE_GPIOS …
#define SR_CMD_SW_RESET …
#define SR_SWRESET_CLEAR …
#define SR_SWRESET_RR …
#define SR_SWRESET_RT …
#define SR_SWRESET_PRTE …
#define SR_SWRESET_PRL …
#define SR_SWRESET_BZ …
#define SR_SWRESET_IPRL …
#define SR_SWRESET_IPPD …
#define SR_CMD_SW_PHY_STATUS …
#define SR_CMD_SW_PHY_SELECT …
#define SR_CMD_BULKIN_SIZE …
#define SR_CMD_LED_MUX …
#define SR_LED_MUX_TX_ACTIVE …
#define SR_LED_MUX_RX_ACTIVE …
#define SR_LED_MUX_COLLISION …
#define SR_LED_MUX_DUP_COL …
#define SR_LED_MUX_DUP …
#define SR_LED_MUX_SPEED …
#define SR_LED_MUX_LINK_ACTIVE …
#define SR_LED_MUX_LINK …
#define SR_REQ_RD_REG …
#define SR_REQ_WR_REG …
#define SR_MCAST_FILTER_SIZE …
#define SR_MAX_MCAST …
#define SR9800_IPG0_DEFAULT …
#define SR9800_IPG1_DEFAULT …
#define SR9800_IPG2_DEFAULT …
#define SR9800_MEDIUM_DEFAULT …
#define SR_DEFAULT_RX_CTL …
#define SR_EEPROM_MAGIC …
#define SR9800_EEPROM_LEN …
#define DRIVER_VERSION …
#define DRIVER_NAME …
#define DRIVER_FLAG …
#define SR9800_MAX_BULKIN_2K …
#define SR9800_MAX_BULKIN_4K …
#define SR9800_MAX_BULKIN_6K …
#define SR9800_MAX_BULKIN_8K …
#define SR9800_MAX_BULKIN_16K …
#define SR9800_MAX_BULKIN_20K …
#define SR9800_MAX_BULKIN_24K …
#define SR9800_MAX_BULKIN_32K …
static const struct { … } SR9800_BULKIN_SIZE[] = …;
struct sr_data { … };
struct sr9800_int_data { … } __packed;
#endif