Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / mac68k / dev / if_aereg.h
blobfa5dd8f44480115599bd32c6cfd7e3a258522254
1 /* $NetBSD: if_aereg.h,v 1.16 1997/04/29 04:40:25 scottr 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.
14 * Memory offsets from slot base PA
16 #define GC_RESET_OFFSET 0x000c0000 /* writes here reset NIC */
17 #define GC_ROM_OFFSET 0x000c0000 /* address prom */
18 #define GC_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */
19 #define GC_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
21 #define DP_ROM_OFFSET 0x000f0000
22 #define DP_DATA_OFFSET 0x000d0000 /* Offset to SONIC memory */
23 #define DP_REG_OFFSET 0x000e0000 /* Offset to SONIC registers */
25 #define AE_ROM_OFFSET 0x000f0000
26 #define AE_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */
27 #define AE_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
29 #define FE_ROM_OFFSET 0x000d0006 /* Determined empirically */
31 #define KE_ROM_OFFSET 0x000f0007
32 #define KE_DATA_OFFSET 0x00000000 /* Offset to NIC memory */
33 #define KE_REG_OFFSET 0x00080003 /* Offset to NIC registers */
35 #define CT_ROM_OFFSET 0x00030000 /* ROM offset */
36 #define CT_DATA_OFFSET 0x00000000 /* RAM offset */
37 #define CT_REG_OFFSET 0x00010000 /* REG offset */
39 #define AE_REG_SIZE 0x40 /* Size of register space */