1 /* $NetBSD: if_aereg.h,v 1.7 1995/04/13 03:58:30 briggs 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 /* 14 * Vendor types 15 */ 16 #define AE_VENDOR_UNKNOWN 0xFF /* Unknown network card */ 17 #define AE_VENDOR_APPLE 0x00 /* Apple Ethernet card */ 18 #define AE_VENDOR_INTERLAN 0x01 /* Interlan A310 card (GatorCard) */ 19 #define AE_VENDOR_DAYNA 0x02 /* DaynaPORT E/30s (and others?) */ 20 #define AE_VENDOR_ASANTE 0x03 /* Asante MacCon II/E */ 21 22 /* 23 * Compile-time config flags 24 */ 25 /* 26 * This sets the default for enabling/disablng the tranceiver. 27 */ 28 #define AE_FLAGS_DISABLE_TRANCEIVER 0x0001 29 30 /* 31 * This disables the use of double transmit buffers. 32 */ 33 #define AE_FLAGS_NO_DOUBLE_BUFFERING 0x0008 34 35 /* */ 36 #define GC_RESET_OFFSET 0x000c0000 /* writes here reset NIC */ 37 #define GC_ROM_OFFSET 0x000c0000 /* address prom */ 38 #define GC_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */ 39 #define GC_NIC_OFFSET 0x000e0000 /* Offset to NIC registers */ 40 41 #define DP_ROM_OFFSET 0x000f0000 42 #define DP_DATA_OFFSET 0x000d0000 /* Offset to SONIC memory */ 43 #define DP_NIC_OFFSET 0x000e0000 /* Offset to SONIC registers */ 44 45 #define AE_ROM_OFFSET 0x000f0000 46 #define AE_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */ 47 #define AE_NIC_OFFSET 0x000e0000 /* Offset to NIC registers */ 48