Go to the documentation of this file.
25 #define PCI_VENDOR_ID_SK 0x1148
26 #define PCI_DEVICE_ID_SK_FP 0x4000
32 #define FDDI_MAC_HDR_LEN 13
35 #define FDDI_RCF_DIR_BIT 0x80
36 #define FDDI_RCF_LEN_MASK 0x1f
37 #define FDDI_RCF_BROADCAST 0x8000
38 #define FDDI_RCF_LIMITED_BROADCAST 0xA000
39 #define FDDI_RCF_FRAME2K 0x20
40 #define FDDI_RCF_FRAME4K 0x30
47 #include <linux/netdevice.h>
50 #include <linux/pci.h>
56 #define ADDR(a) (smc->hw.iop+(a))
58 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), (smc->hw.iop+( ((a)&0x7F) | ((a)>>7 ? 0x80:0)) )) : (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
68 #define FDDI_TRACE(string, arg1, arg2, arg3) // Performance analysis.
70 #define NDD_TRACE(string, arg1, arg2, arg3) // Performance analysis.
72 #define SMT_PAGESIZE PAGE_SIZE // Size of a memory page (power of 2).
78 #define TICKS_PER_SECOND HZ
85 #define NO_ADDRESS 0xffe0
86 #define SKFP_MAX_NUM_BOARDS 8
88 #define SK_BUS_TYPE_PCI 0
89 #define SK_BUS_TYPE_EISA 1
93 #define u8 unsigned char
94 #define u16 unsigned short
95 #define u32 unsigned int
97 #define MAX_TX_QUEUE_LEN 20 // number of packets queued by driver
98 #define MAX_FRAME_SIZE 4550
100 #define RX_LOW_WATERMARK NUM_RECEIVE_BUFFERS / 2
101 #define TX_LOW_WATERMARK NUM_TRANSMIT_BUFFERS - 2
108 #define SKFPIOCTL SIOCDEVPRIVATE
119 #define SKFP_GET_STATS 0x05
120 #define SKFP_CLR_STATS 0x06