xref: /original-bsd/sys/i386/isa/if_nereg.h (revision 2dc74e6c)
1b6ae0848Sbostic /*-
2*2dc74e6cSbostic  * Copyright (c) 1991, 1993
3*2dc74e6cSbostic  *	The Regents of the University of California.  All rights reserved.
4b6ae0848Sbostic  *
5b6ae0848Sbostic  * %sccs.include.redist.c%
6b6ae0848Sbostic  *
7*2dc74e6cSbostic  *	@(#)if_nereg.h	8.1 (Berkeley) 06/11/93
8b6ae0848Sbostic  */
9b6ae0848Sbostic 
10024f21feSbill /*
11024f21feSbill  * NE2000 Ethernet Card registers
12024f21feSbill  */
13024f21feSbill 
14024f21feSbill /* The NE2000 uses a DS8390 Ethernet controller in at the beginning of
15024f21feSbill    its i/o space */
16fb81e5fdSbostic #include <i386/isa/ic/ds8390.h>
17024f21feSbill 
18024f21feSbill #define ne_data		0x10	/* Data Transfer port */
19024f21feSbill #define ne_reset	0x1f	/* Card Reset port */
20024f21feSbill 
21024f21feSbill #define	PKTSZ	3*512
22024f21feSbill #define	TBUF	(16*1024)	/* Starting location of Transmit Buffer */
23024f21feSbill #define	RBUF	(16*1024+PKTSZ)	/* Starting location of Receive Buffer */
24024f21feSbill #define	RBUFEND	(32*1024)	/* Ending location of Transmit Buffer */
25