Commit | Line | Data |
---|---|---|
d4a75cc0 KB |
1 | /*- |
2 | * Copyright (c) 1991 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
6 | * | |
7 | * @(#)if_nereg.h 7.1 (Berkeley) %G% | |
8 | */ | |
9 | ||
d7344592 BJ |
10 | /* |
11 | * NE2000 Ethernet Card registers | |
d7344592 BJ |
12 | */ |
13 | ||
14 | /* The NE2000 uses a DS8390 Ethernet controller in at the beginning of | |
15 | its i/o space */ | |
16 | #include "ic/ds8390.h" | |
17 | ||
18 | #define ne_data 0x10 /* Data Transfer port */ | |
19 | #define ne_reset 0x1f /* Card Reset port */ | |
20 | ||
21 | #define PKTSZ 3*512 | |
22 | #define TBUF (16*1024) /* Starting location of Transmit Buffer */ | |
23 | #define RBUF (16*1024+PKTSZ) /* Starting location of Receive Buffer */ | |
24 | #define RBUFEND (32*1024) /* Ending location of Transmit Buffer */ |