1 1.4 enami /* $NetBSD: ne2000reg.h,v 1.4 2001/08/04 11:38:57 enami Exp $ */ 2 1.2 thorpej 3 1.2 thorpej /* 4 1.2 thorpej * National Semiconductor DS8390 NIC register definitions. 5 1.2 thorpej * 6 1.2 thorpej * Copyright (C) 1993, David Greenman. This software may be used, modified, 7 1.2 thorpej * copied, distributed, and sold, in both source and binary form provided that 8 1.2 thorpej * the above copyright and these terms are retained. Under no circumstances is 9 1.2 thorpej * the author responsible for the proper functioning of this software, nor does 10 1.2 thorpej * the author assume any responsibility for damages incurred with its use. 11 1.2 thorpej */ 12 1.2 thorpej 13 1.2 thorpej #ifndef _DEV_IC_NE2000REG_H_ 14 1.2 thorpej #define _DEV_IC_NE2000REG_H_ 15 1.2 thorpej 16 1.2 thorpej /* 17 1.2 thorpej * Register group offsets from base. 18 1.2 thorpej */ 19 1.2 thorpej #define NE2000_NIC_OFFSET 0x00 20 1.2 thorpej #define NE2000_ASIC_OFFSET 0x10 21 1.2 thorpej 22 1.2 thorpej #define NE2000_NIC_NPORTS 0x10 23 1.2 thorpej #define NE2000_ASIC_NPORTS 0x10 24 1.2 thorpej #define NE2000_NPORTS 0x20 25 1.2 thorpej 26 1.2 thorpej /* 27 1.2 thorpej * NE2000 ASIC registers (given as offsets from ASIC base). 28 1.2 thorpej */ 29 1.2 thorpej #define NE2000_ASIC_DATA 0x00 /* remote DMA/data register */ 30 1.2 thorpej #define NE2000_ASIC_RESET 0x0f /* reset on read */ 31 1.2 thorpej 32 1.2 thorpej #endif /* _DEV_IC_NE2000REG_H_ */ 33