source: trunk/minix/drivers/dp8390/ne2000.h@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 633 bytes
Line 
1/*
2ne2000.h
3
4Created: March 15, 1994 by Philip Homburg <philip@f-mnx.phicoh.com>
5*/
6
7#ifndef NE2000_H
8#define NE2000_H
9
10#define NE_DP8390 0x00
11#define NE_DATA 0x10
12#define NE_RESET 0x1F
13
14#define NE1000_START 0x2000
15#define NE1000_SIZE 0x2000
16#define NE2000_START 0x4000
17#define NE2000_SIZE 0x4000
18
19#define inb_ne(dep, reg) (inb(dep->de_base_port+reg))
20#define outb_ne(dep, reg, data) (outb(dep->de_base_port+reg, data))
21#define inw_ne(dep, reg) (inw(dep->de_base_port+reg))
22#define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data))
23
24#endif /* NE2000_H */
25
26/*
27 * $PchId: ne2000.h,v 1.4 2004/08/03 12:03:20 philip Exp $
28 */
Note: See TracBrowser for help on using the repository browser.