Go to the documentation of this file.
18 #define SIS900_TOTAL_SIZE 0x100
52 SB = 0x00000040,
POW = 0x00000020,
EXD = 0x00000010,
81 #define MAX_DMA_RANGE 7
82 #define TxMXDMA_shift 20
83 #define RxMXDMA_shift 20
90 #define TX_FILL_THRESH 16
91 #define TxFILLT_shift 8
92 #define TxDRNT_shift 0
103 #define RxDRNT_shift 1
104 #define RxDRNT_100 16
112 #define RFAA_shift 28
113 #define RFADDR_shift 16
188 #define MIIread 0x6000
189 #define MIIwrite 0x5002
190 #define MIIpmdShift 7
191 #define MIIregShift 2
193 #define MIIcmdShift 16
257 #define MII_ID1_OUI_LO 0xFC00
258 #define MII_ID1_MODEL 0x03F0
259 #define MII_ID1_REV 0x000F
300 #define FDX_CAPABLE_DUPLEX_UNKNOWN 0
301 #define FDX_CAPABLE_HALF_SELECTED 1
302 #define FDX_CAPABLE_FULL_SELECTED 2
304 #define HW_SPEED_UNCONFIG 0
305 #define HW_SPEED_HOME 1
306 #define HW_SPEED_10_MBPS 10
307 #define HW_SPEED_100_MBPS 100
308 #define HW_SPEED_DEFAULT (HW_SPEED_100_MBPS)
311 #define MAC_HEADER_SIZE 14
313 #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
314 #define MAX_FRAME_SIZE (1518 + 4)
316 #define MAX_FRAME_SIZE 1518
319 #define TX_BUF_SIZE (MAX_FRAME_SIZE+18)
320 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18)
322 #define NUM_TX_DESC 16
323 #define NUM_RX_DESC 16
324 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)
325 #define RX_TOTAL_SIZE NUM_RX_DESC*sizeof(BufferDesc)
328 #define SIS630_VENDOR_ID 0x1039
329 #define SIS630_DEVICE_ID 0x0630