kernel: new DEBUG_RACE option. try to provoke race conditions between processes.
[minix.git] / drivers / dpeth / ne.h
blob391d256cc6e92a7c40a0d0ca91d7048e4680b174
1 /*
2 ** File: ne.h
3 **
4 ** Created: March 15, 1994 by Philip Homburg <philip@cs.vu.nl>
5 ** $PchId: ne2000.h,v 1.2 1995/12/22 08:42:31 philip Exp $
6 **
7 ** $Log$
8 ** Revision 1.1 2005/06/29 10:16:46 beng
9 ** Import of dpeth 3c501/3c509b/.. ethernet driver by
10 ** Giovanni Falzoni <fgalzoni@inwind.it>.
12 ** Revision 2.0 2005/06/26 16:16:46 lsodgf0
13 ** Initial revision for Minix 3.0.6
15 ** $Id$
18 #ifndef NE2000_H
19 #define NE2000_H
21 #define NE_DP8390 0x00
22 #define NE_DATA 0x10
23 #define NE_RESET 0x1F
25 #define NE1000_START 0x2000
26 #define NE1000_SIZE 0x2000
27 #define NE2000_START 0x4000
28 #define NE2000_SIZE 0x4000
30 #define inb_ne(dep, reg) (inb(dep->de_base_port+reg))
31 #define outb_ne(dep, reg, data) (outb(dep->de_base_port+reg, data))
32 #define inw_ne(dep, reg) (inw(dep->de_base_port+reg))
33 #define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data))
35 #endif /* NE2000_H */
37 /** ne.h **/