Go to the documentation of this file.
35 #define ether_addr ether_addr_t
52 #define DEF_ENABLED 0x200
57 #define startPage 0x4C
62 #define NE_PSTART 0x01
67 #define NE_CURRENT 0x07
76 #define NE_DCR_WTS 0x01
77 #define NE_DCR_LS 0x08
78 #define NE_DCR_AR 0x10
79 #define NE_DCR_FT1 0x40
80 #define NE_DCR_FT0 0x20
84 #define E8390_STOP 0x01
85 #define E8390_NODMA 0x20
86 #define E8390_PAGE0 0x00
87 #define E8390_PAGE1 0x40
88 #define E8390_CMD 0x00
89 #define E8390_START 0x02
90 #define E8390_RREAD 0x08
91 #define E8390_RWRITE 0x10
92 #define E8390_RXOFF 0x20
93 #define E8390_TXOFF 0x00
94 #define E8390_RXCONFIG 0x04
95 #define E8390_TXCONFIG 0x00
97 #define EN0_COUNTER0 0x0d
99 #define EN0_RCNTLO 0x0a
100 #define EN0_RCNTHI 0x0b
103 #define EN0_RSARLO 0x08
104 #define EN0_RSARHI 0x09
105 #define EN0_TPSR 0x04
106 #define EN0_RXCR 0x0c
107 #define EN0_TXCR 0x0D
108 #define EN0_STARTPG 0x01
109 #define EN0_STOPPG 0x02
110 #define EN0_BOUNDARY 0x03
112 #define EN1_PHYS 0x01
113 #define EN1_CURPAG 0x07
114 #define EN1_MULT 0x08
116 #define NE1SM_START_PG 0x20
117 #define NE1SM_STOP_PG 0x40
118 #define NESM_START_PG 0x40
119 #define NESM_STOP_PG 0x80
121 #define ENISR_ALL 0x3f
123 #define ENDCFG_WTS 0x01
125 #define NE_DATAPORT 0x10
127 #define TX_2X_PAGES 12
128 #define TX_1X_PAGES 6
129 #define TX_PAGES (dev->priv->pingPong ? TX_2X_PAGES : TX_1X_PAGES)
147 #define DP_PAGESIZE 256
161 int NICtoPC(
struct device *dev,
void *packet,
int length,
int nic_addr);
int PCtoNIC(struct device *dev, void *packet, int length)
int ne2kProbe(int, struct device *)
struct nicBuffer * ne2kGetBuffer()
struct nicBuffer * ne2kAllocBuffer(int)
struct dp_rcvhdr dp_rcvhdr_t
void NS8390_init(struct device *dev, int startp)
int NICtoPC(struct device *dev, void *packet, int length, int nic_addr)
int ne2kDevInit(struct device *)
void ne2kFreeBuffer(struct nicBuffer *)