summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1996-01-14 20:57:37 +0000
committerbriggs <briggs@cvs.openbsd.org>1996-01-14 20:57:37 +0000
commit5b90515497d6f8d62d59c70a2f3176d83bddec88 (patch)
treed2361e1bb3e16d67e9026770bd9232d4b2429f66 /sys/arch/mac68k
parent68efacf44d215679c4f72dbdadfbe65e10044469 (diff)
from netbsd:
Patch to at least recognise FOCUS EtherLAN. From Erik Bertelson <erik@sockdev.uni-c.dk>
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/if_ae.c7
-rw-r--r--sys/arch/mac68k/dev/if_aereg.h3
-rw-r--r--sys/arch/mac68k/dev/nubus.h3
3 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/if_ae.c b/sys/arch/mac68k/dev/if_ae.c
index 3d798d202de..b92a1fcb825 100644
--- a/sys/arch/mac68k/dev/if_ae.c
+++ b/sys/arch/mac68k/dev/if_ae.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ae.c,v 1.37 1995/12/24 02:30:37 mycroft Exp $ */
+/* $NetBSD: if_ae.c,v 1.39 1996/01/13 14:03:38 briggs Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -218,6 +218,9 @@ ae_id_card(slot, sc)
case NUBUS_DRSW_FARALLON:
sc->vendor = AE_VENDOR_FARALLON;
break;
+ case NUBUS_DRSW_FOCUS:
+ sc->vendor = AE_VENDOR_FOCUS;
+ break;
case NUBUS_DRSW_GATOR:
switch (slottype.drhw) {
default:
@@ -356,6 +359,8 @@ aeprobe(parent, match, aux)
sc->sc_arpcom.ac_enaddr[i] = *(sc->rom_addr + i);
break;
+ case AE_VENDOR_FOCUS:
+ printf("Focus EtherLAN card detected, but not supported.\n");
default:
return (0);
break;
diff --git a/sys/arch/mac68k/dev/if_aereg.h b/sys/arch/mac68k/dev/if_aereg.h
index ab42ac25748..35002107b57 100644
--- a/sys/arch/mac68k/dev/if_aereg.h
+++ b/sys/arch/mac68k/dev/if_aereg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aereg.h,v 1.11 1995/07/30 13:38:08 briggs Exp $ */
+/* $NetBSD: if_aereg.h,v 1.12 1996/01/12 04:53:05 briggs Exp $ */
/*
* National Semiconductor DS8390 NIC register definitions.
@@ -31,6 +31,7 @@ struct ae_ring {
#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 */
/*
* Compile-time config flags
diff --git a/sys/arch/mac68k/dev/nubus.h b/sys/arch/mac68k/dev/nubus.h
index b3af6a096eb..2b6ea05b323 100644
--- a/sys/arch/mac68k/dev/nubus.h
+++ b/sys/arch/mac68k/dev/nubus.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nubus.h,v 1.11 1995/09/24 14:13:56 briggs Exp $ */
+/* $NetBSD: nubus.h,v 1.12 1996/01/12 04:52:58 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@@ -65,6 +65,7 @@
#define NUBUS_DRSW_TECHWORKS 0x0109
#define NUBUS_DRHW_SONIC 0x0110
#define NUBUS_DRSW_FARALLON 0x010C
+#define NUBUS_DRSW_FOCUS 0x011A
#define NUBUS_CATEGORY_COMMUNICATIONS 0x0006
#define NUBUS_TYPE_RS232 0x0002