unstack - fix ipcvecs
[minix.git] / sys / arch / i386 / stand / lib / netif / dp8390.h
blobc1d40948bcbe1e8c5fc4010f8bc77a9223145a9f
1 /* $NetBSD: dp8390.h,v 1.6 2008/12/14 18:46:33 christos Exp $ */
3 extern int dp8390_config(void);
4 extern void dp8390_stop(void);
6 extern int dp8390_iobase;
7 extern int dp8390_membase;
8 extern int dp8390_memsize;
9 #ifdef SUPPORT_WD80X3
10 #ifdef SUPPORT_SMC_ULTRA
11 extern int dp8390_is790;
12 #else
13 #define dp8390_is790 0
14 #endif
15 #else
16 #ifdef SUPPORT_SMC_ULTRA
17 #define dp8390_is790 1
18 #endif
19 #endif
21 #ifdef SUPPORT_NE2000
22 #define dp8390_is790 0
23 #define IFNAME "ne"
24 #define RX_BUFBASE 0
25 #define TX_PAGE_START (dp8390_membase >> ED_PAGE_SHIFT)
26 #else
27 #define IFNAME "we"
28 #define RX_BUFBASE dp8390_membase
29 #define TX_PAGE_START 0
30 #endif
32 extern uint8_t dp8390_cr_proto; /* values always set in CR */
33 extern uint8_t dp8390_dcr_reg; /* override DCR if LS is set */