can't get_block(NO_DEV) any more
[minix.git] / drivers / dpeth / ne.h
blob14fa4c8c66ee271c164a6f0b0177895466770c9b
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
16 #ifndef NE2000_H
17 #define NE2000_H
19 #define NE_DP8390 0x00
20 #define NE_DATA 0x10
21 #define NE_RESET 0x1F
23 #define NE1000_START 0x2000
24 #define NE1000_SIZE 0x2000
25 #define NE2000_START 0x4000
26 #define NE2000_SIZE 0x4000
28 #define inb_ne(dep, reg) (inb(dep->de_base_port+reg))
29 #define outb_ne(dep, reg, data) (outb(dep->de_base_port+reg, data))
30 #define inw_ne(dep, reg) (inw(dep->de_base_port+reg))
31 #define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data))
33 #endif /* NE2000_H */
35 /** ne.h **/