xref: /original-bsd/sys/i386/isa/if_nereg.h (revision 3705696b)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)if_nereg.h	8.1 (Berkeley) 06/11/93
8  */
9 
10 /*
11  * NE2000 Ethernet Card registers
12  */
13 
14 /* The NE2000 uses a DS8390 Ethernet controller in at the beginning of
15    its i/o space */
16 #include <i386/isa/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 */
25