summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_aereg.h
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-03-08 16:17:07 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-03-08 16:17:07 +0000
commitff0673c19523d5b6bd01a362faa04af8f4ca9c13 (patch)
tree445632a2a4924f1e56bf8949a24dd9db30df5336 /sys/arch/mac68k/dev/if_aereg.h
parent4c4f43623ba216b0bf625d16ef1c4eb0f8eb529c (diff)
Sync with NetBSD of about 4 March.
Diffstat (limited to 'sys/arch/mac68k/dev/if_aereg.h')
-rw-r--r--sys/arch/mac68k/dev/if_aereg.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys/arch/mac68k/dev/if_aereg.h b/sys/arch/mac68k/dev/if_aereg.h
index b549041e4ca..f77079a93bb 100644
--- a/sys/arch/mac68k/dev/if_aereg.h
+++ b/sys/arch/mac68k/dev/if_aereg.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_aereg.h,v 1.4 1997/01/24 01:35:32 briggs Exp $ */
-/* $NetBSD: if_aereg.h,v 1.12 1996/01/12 04:53:05 briggs Exp $ */
+/* $OpenBSD: if_aereg.h,v 1.5 1997/03/08 16:16:53 briggs Exp $ */
+/* $NetBSD: if_aereg.h,v 1.14 1997/02/24 07:34:20 scottr Exp $ */
/*
* National Semiconductor DS8390 NIC register definitions.
@@ -26,13 +26,14 @@ struct ae_ring {
/*
* Vendor types
*/
-#define AE_VENDOR_UNKNOWN 0xFF /* Unknown network card */
+#define AE_VENDOR_UNKNOWN 0xff /* Unknown network card */
#define AE_VENDOR_APPLE 0x00 /* Apple Ethernet card */
#define AE_VENDOR_INTERLAN 0x01 /* Interlan A310 card (GatorCard) */
#define AE_VENDOR_DAYNA 0x02 /* DaynaPORT E/30s (and others?) */
#define AE_VENDOR_ASANTE 0x03 /* Asante MacCon II/E */
#define AE_VENDOR_FARALLON 0x04 /* Farallon EtherMac II-TP */
#define AE_VENDOR_FOCUS 0x05 /* FOCUS Enhancements EtherLAN */
+#define AE_VENDOR_KINETICS 0x06 /* Kinetics EtherPort SE/30 */
/*
* Compile-time config flags
@@ -51,14 +52,20 @@ struct ae_ring {
#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 */
-#define GC_NIC_OFFSET 0x000e0000 /* Offset to NIC registers */
+#define GC_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
#define DP_ROM_OFFSET 0x000f0007 /* Offset to MAC address */
#define DP_DATA_OFFSET 0x00000000 /* Offset to NIC memory */
-#define DP_NIC_OFFSET 0x00080000 /* Offset to NIC registers */
+#define DP_REG_OFFSET 0x00080000 /* Offset to NIC registers */
#define AE_ROM_OFFSET 0x000f0000
#define AE_DATA_OFFSET 0x000d0000 /* Offset to NIC memory */
-#define AE_NIC_OFFSET 0x000e0000 /* Offset to NIC registers */
+#define AE_REG_OFFSET 0x000e0000 /* Offset to NIC registers */
#define FE_ROM_OFFSET 0x000d0006 /* Determined empirically */
+
+#define KE_ROM_OFFSET 0x000f0007
+#define KE_DATA_OFFSET 0x00000000 /* Offset to NIC memory */
+#define KE_REG_OFFSET 0x00080003 /* Offset to NIC registers */
+
+#define AE_REG_SIZE 0x40 /* Size of register space */