1998-08-12 11:19:09 +04:00
|
|
|
/* $NetBSD: if_aereg.h,v 1.17 1998/08/12 07:19:09 scottr Exp $ */
|
1994-10-26 11:45:48 +03:00
|
|
|
|
1993-11-29 03:32:22 +03:00
|
|
|
/*
|
1995-04-12 19:01:14 +04:00
|
|
|
* National Semiconductor DS8390 NIC register definitions.
|
1994-12-04 02:30:45 +03:00
|
|
|
*
|
1995-04-12 19:01:14 +04:00
|
|
|
* Copyright (C) 1993, David Greenman. This software may be used, modified,
|
|
|
|
* copied, distributed, and sold, in both source and binary form provided that
|
|
|
|
* the above copyright and these terms are retained. Under no circumstances is
|
|
|
|
* the author responsible for the proper functioning of this software, nor does
|
|
|
|
* the author assume any responsibility for damages incurred with its use.
|
1993-11-29 03:32:22 +03:00
|
|
|
*/
|
|
|
|
|
1995-04-19 08:46:06 +04:00
|
|
|
/*
|
1997-04-29 08:40:22 +04:00
|
|
|
* Memory offsets from slot base PA
|
1995-04-19 08:46:06 +04:00
|
|
|
*/
|
1995-04-21 06:47:35 +04:00
|
|
|
#define GC_RESET_OFFSET 0x000c0000 /* writes here reset NIC */
|
|
|
|
#define GC_ROM_OFFSET 0x000c0000 /* address prom */
|
|
|
|
#define GC_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */
|
1997-02-24 09:03:55 +03:00
|
|
|
#define GC_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
|
1993-11-29 03:32:22 +03:00
|
|
|
|
1994-03-01 18:24:25 +03:00
|
|
|
#define DP_ROM_OFFSET 0x000f0000
|
1995-04-21 06:47:35 +04:00
|
|
|
#define DP_DATA_OFFSET 0x000d0000 /* Offset to SONIC memory */
|
1997-02-24 09:03:55 +03:00
|
|
|
#define DP_REG_OFFSET 0x000e0000 /* Offset to SONIC registers */
|
1994-03-01 18:24:25 +03:00
|
|
|
|
1993-11-29 03:32:22 +03:00
|
|
|
#define AE_ROM_OFFSET 0x000f0000
|
1995-04-21 06:47:35 +04:00
|
|
|
#define AE_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */
|
1997-02-24 09:03:55 +03:00
|
|
|
#define AE_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
|
1995-07-30 17:38:04 +04:00
|
|
|
|
|
|
|
#define FE_ROM_OFFSET 0x000d0006 /* Determined empirically */
|
1997-02-24 09:03:55 +03:00
|
|
|
|
1997-02-24 10:34:18 +03:00
|
|
|
#define KE_ROM_OFFSET 0x000f0007
|
|
|
|
#define KE_DATA_OFFSET 0x00000000 /* Offset to NIC memory */
|
|
|
|
#define KE_REG_OFFSET 0x00080003 /* Offset to NIC registers */
|
|
|
|
|
1998-08-12 11:19:09 +04:00
|
|
|
#define CT_ROM_OFFSET 0x00030000 /* ROM offset */
|
|
|
|
#define CT_DATA_OFFSET 0x00000000 /* RAM offset */
|
|
|
|
#define CT_REG_OFFSET 0x00010000 /* REG offset */
|
|
|
|
|
1997-02-24 09:03:55 +03:00
|
|
|
#define AE_REG_SIZE 0x40 /* Size of register space */
|