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.2 (Berkeley) 10/11/92 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