16 #define AXGE_READ_MAC_REGISTER \ 17 ( USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE | \ 18 USB_REQUEST_TYPE ( 0x01 ) ) 21 #define AXGE_WRITE_MAC_REGISTER \ 22 ( USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE | \ 23 USB_REQUEST_TYPE ( 0x01 ) ) 26 #define AXGE_PLSR 0x02 27 #define AXGE_PLSR_EPHY_10 0x10 28 #define AXGE_PLSR_EPHY_100 0x20 29 #define AXGE_PLSR_EPHY_1000 0x40 30 #define AXGE_PLSR_EPHY_ANY \ 31 ( AXGE_PLSR_EPHY_10 | \ 32 AXGE_PLSR_EPHY_100 | \ 37 #define AXGE_RCR_PRO 0x0001 38 #define AXGE_RCR_AMALL 0x0002 39 #define AXGE_RCR_AB 0x0008 40 #define AXGE_RCR_SO 0x0080 43 #define AXGE_NIDR 0x10 47 #define AXGE_MSR_GM 0x0001 48 #define AXGE_MSR_FD 0x0002 49 #define AXGE_MSR_RFC 0x0010 50 #define AXGE_MSR_TFC 0x0020 51 #define AXGE_MSR_RE 0x0100 52 #define AXGE_MSR_PS 0x0200 55 #define AXGE_EPPRCR 0x26 56 #define AXGE_EPPRCR_IPRL 0x0020 59 #define AXGE_EPPRCR_DELAY_MS 200 62 #define AXGE_BICR 0x2e 78 #define AXGE_CSR_BCS 0x01 79 #define AXGE_CSR_ACS 0x02 82 #define AXGE_CSR_DELAY_MS 100 109 #define AXGE_RX_LEN_MASK 0x1fff 112 #define AXGE_RX_LEN_PAD_ALIGN 8 115 #define AXGE_RX_CRC_ERROR 0x2000 118 #define AXGE_RX_DROP_ERROR 0x8000 133 #define AXGE_INTR_MAGIC 0x00a1 136 #define AXGE_INTR_LINK_PPLS 0x0001 158 #define AXGE_INTR_MAX_FILL 2 164 #define AXGE_IN_MAX_FILL 8 170 #define AXGE_IN_MTU 2048 177 #define AXGE_IN_RESERVE sizeof ( struct axge_tx_header )
struct usb_device * usb
USB device.
uint8_t ifg
Inter-frame gap.
struct usb_bus * bus
USB bus.
uint16_t magic
Magic signature.
uint16_t mr01
PHY register MR01.
uint16_t check
Checksum information.
struct net_device * netdev
Network device.
int check_link
Link state has changed.
Bulk IN Control (undocumented)
uint16_t mr05
PHY register MR05.
uint16_t len_flags
Length and error flags.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Universal Serial Bus (USB)
unsigned int config
Device configuration.
Receive packet descriptor.
struct usbnet_device usbnet
USB network device.