Sync usage with man page.
[netbsd-mini2440.git] / sys / dev / ic / ne2000reg.h
blobd36196e9cb1fe97e9c423e9dccbaaf411bcbb0dc
1 /* $NetBSD: ne2000reg.h,v 1.3 2000/02/09 15:40:24 enami Exp $ */
3 /*
4 * National Semiconductor DS8390 NIC register definitions.
6 * Copyright (C) 1993, David Greenman. This software may be used, modified,
7 * copied, distributed, and sold, in both source and binary form provided that
8 * the above copyright and these terms are retained. Under no circumstances is
9 * the author responsible for the proper functioning of this software, nor does
10 * the author assume any responsibility for damages incurred with its use.
13 #ifndef _DEV_IC_NE2000REG_H_
14 #define _DEV_IC_NE2000REG_H_
17 * Register group offsets from base.
19 #define NE2000_NIC_OFFSET 0x00
20 #define NE2000_ASIC_OFFSET 0x10
22 #define NE2000_NIC_NPORTS 0x10
23 #define NE2000_ASIC_NPORTS 0x10
24 #define NE2000_NPORTS 0x20
27 * NE2000 ASIC registers (given as offsets from ASIC base).
29 #define NE2000_ASIC_DATA 0x00 /* remote DMA/data register */
30 #define NE2000_ASIC_RESET 0x0f /* reset on read */
32 #endif /* _DEV_IC_NE2000REG_H_ */