1*b6f23c97Sbrad /* $OpenBSD: ne2000reg.h,v 1.3 2006/10/20 18:27:25 brad Exp $ */ 251ef1495Sfgsch /* $NetBSD: ne2000reg.h,v 1.2 1997/10/14 22:54:11 thorpej Exp $ */ 351ef1495Sfgsch 451ef1495Sfgsch /* 551ef1495Sfgsch * National Semiconductor DS8390 NIC register definitions. 651ef1495Sfgsch * 751ef1495Sfgsch * Copyright (C) 1993, David Greenman. This software may be used, modified, 851ef1495Sfgsch * copied, distributed, and sold, in both source and binary form provided that 951ef1495Sfgsch * the above copyright and these terms are retained. Under no circumstances is 1051ef1495Sfgsch * the author responsible for the proper functioning of this software, nor does 1151ef1495Sfgsch * the author assume any responsibility for damages incurred with its use. 1251ef1495Sfgsch */ 1351ef1495Sfgsch 1451ef1495Sfgsch #ifndef _DEV_IC_NE2000REG_H_ 1551ef1495Sfgsch #define _DEV_IC_NE2000REG_H_ 1651ef1495Sfgsch 1751ef1495Sfgsch /* 1851ef1495Sfgsch * Register group offsets from base. 1951ef1495Sfgsch */ 2051ef1495Sfgsch #define NE2000_NIC_OFFSET 0x00 2151ef1495Sfgsch #define NE2000_ASIC_OFFSET 0x10 2251ef1495Sfgsch 2351ef1495Sfgsch #define NE2000_NIC_NPORTS 0x10 2451ef1495Sfgsch #define NE2000_ASIC_NPORTS 0x10 2551ef1495Sfgsch #define NE2000_NPORTS 0x20 2651ef1495Sfgsch 2751ef1495Sfgsch /* 2851ef1495Sfgsch * NE2000 ASIC registers (given as offsets from ASIC base). 2951ef1495Sfgsch */ 3051ef1495Sfgsch #define NE2000_ASIC_DATA 0x00 /* remote DMA/data register */ 3151ef1495Sfgsch #define NE2000_ASIC_RESET 0x0f /* reset on read */ 3251ef1495Sfgsch 3351ef1495Sfgsch #endif /* _DEV_IC_NE2000REG_H_ */ 34