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