Rev | Line | |
---|
[9] | 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: ne.h,v $
|
---|
| 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>.
|
---|
| 11 | **
|
---|
| 12 | ** Revision 2.0 2005/06/26 16:16:46 lsodgf0
|
---|
| 13 | ** Initial revision for Minix 3.0.6
|
---|
| 14 | **
|
---|
| 15 | ** $Id: ne.h,v 1.1 2005/06/29 10:16:46 beng Exp $
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | #ifndef NE2000_H
|
---|
| 19 | #define NE2000_H
|
---|
| 20 |
|
---|
| 21 | #define NE_DP8390 0x00
|
---|
| 22 | #define NE_DATA 0x10
|
---|
| 23 | #define NE_RESET 0x1F
|
---|
| 24 |
|
---|
| 25 | #define NE1000_START 0x2000
|
---|
| 26 | #define NE1000_SIZE 0x2000
|
---|
| 27 | #define NE2000_START 0x4000
|
---|
| 28 | #define NE2000_SIZE 0x4000
|
---|
| 29 |
|
---|
| 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))
|
---|
| 34 |
|
---|
| 35 | #endif /* NE2000_H */
|
---|
| 36 |
|
---|
| 37 | /** ne.h **/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.