Rev 4192 | Rev 4350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4192 | Rev 4261 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include "../../structures/packet/packet.h" |
38 | #include "../../structures/packet/packet.h" |
39 | 39 | ||
40 | #include "dp8390_port.h" |
40 | #include "dp8390_port.h" |
41 | #include "local.h" |
41 | #include "local.h" |
42 | 42 | ||
- | 43 | #define DP8390_IO_SIZE 0x01f |
|
- | 44 | ||
43 | /* |
45 | /* |
44 | dp8390.h |
46 | dp8390.h |
45 | 47 | ||
46 | Created: before Dec 28, 1992 by Philip Homburg |
48 | Created: before Dec 28, 1992 by Philip Homburg |
47 | */ |
49 | */ |
Line 266... | Line 268... | ||
266 | #define SENDQ_NR 2 /* Maximum size of the send queue */ |
268 | #define SENDQ_NR 2 /* Maximum size of the send queue */ |
267 | #define SENDQ_PAGES 6 /* 6 * DP_PAGESIZE >= 1514 bytes */ |
269 | #define SENDQ_PAGES 6 /* 6 * DP_PAGESIZE >= 1514 bytes */ |
268 | 270 | ||
269 | typedef struct dpeth |
271 | typedef struct dpeth |
270 | { |
272 | { |
271 | /* Parent device structure. |
- | |
272 | */ |
- | |
273 | void * parent; |
- | |
274 | /* Packet send queue. |
273 | /* Packet send queue. |
275 | */ |
274 | */ |
276 | packet_t packet_queue; |
275 | packet_t packet_queue; |
277 | int packet_count; |
276 | int packet_count; |
278 | 277 | ||
- | 278 | /* Packet receive queue. |
|
- | 279 | */ |
|
- | 280 | packet_t received_queue; |
|
- | 281 | ||
279 | /* The de_base_port field is the starting point of the probe. |
282 | /* The de_base_port field is the starting point of the probe. |
280 | * The conf routine also fills de_linmem and de_irq. If the probe |
283 | * The conf routine also fills de_linmem and de_irq. If the probe |
281 | * routine knows the irq and/or memory address because they are |
284 | * routine knows the irq and/or memory address because they are |
282 | * hardwired in the board, the probe should modify these fields. |
285 | * hardwired in the board, the probe should modify these fields. |
283 | * Futhermore, the probe routine should also fill in de_initf and |
286 | * Futhermore, the probe routine should also fill in de_initf and |