1/*	$NetBSD: ne2000reg.h,v 1.3 2000/02/09 15:40:24 enami Exp $	*/
2
3/*
4 * National Semiconductor DS8390 NIC register definitions.
5 *
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.
11 */
12
13#ifndef _DEV_IC_NE2000REG_H_
14#define	_DEV_IC_NE2000REG_H_
15
16/*
17 * Register group offsets from base.
18 */
19#define	NE2000_NIC_OFFSET	0x00
20#define	NE2000_ASIC_OFFSET	0x10
21
22#define	NE2000_NIC_NPORTS	0x10
23#define	NE2000_ASIC_NPORTS	0x10
24#define	NE2000_NPORTS		0x20
25
26/*
27 * NE2000 ASIC registers (given as offsets from ASIC base).
28 */
29#define	NE2000_ASIC_DATA	0x00	/* remote DMA/data register */
30#define	NE2000_ASIC_RESET	0x0f	/* reset on read */
31
32#endif /* _DEV_IC_NE2000REG_H_ */
33