xref: /csrg-svn/sys/i386/isa/if_nereg.h (revision 63364)
149617Sbostic /*-
2*63364Sbostic  * Copyright (c) 1991, 1993
3*63364Sbostic  *	The Regents of the University of California.  All rights reserved.
449617Sbostic  *
549617Sbostic  * %sccs.include.redist.c%
649617Sbostic  *
7*63364Sbostic  *	@(#)if_nereg.h	8.1 (Berkeley) 06/11/93
849617Sbostic  */
949617Sbostic 
1045539Sbill /*
1145539Sbill  * NE2000 Ethernet Card registers
1245539Sbill  */
1345539Sbill 
1445539Sbill /* The NE2000 uses a DS8390 Ethernet controller in at the beginning of
1545539Sbill    its i/o space */
1656513Sbostic #include <i386/isa/ic/ds8390.h>
1745539Sbill 
1845539Sbill #define ne_data		0x10	/* Data Transfer port */
1945539Sbill #define ne_reset	0x1f	/* Card Reset port */
2045539Sbill 
2145539Sbill #define	PKTSZ	3*512
2245539Sbill #define	TBUF	(16*1024)	/* Starting location of Transmit Buffer */
2345539Sbill #define	RBUF	(16*1024+PKTSZ)	/* Starting location of Receive Buffer */
2445539Sbill #define	RBUFEND	(32*1024)	/* Ending location of Transmit Buffer */
25