summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_ae_nubus.c
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-08 04:14:48 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-08 04:14:48 +0000
commitc1ba9e6323d1493b99cfa181a861c6a7b780eca9 (patch)
treeb74b6e3094db1141f7ff0ab1635411462260abc3 /sys/arch/mac68k/dev/if_ae_nubus.c
parentc3b9ac08e3e27bd01d57a561177193482d12f88a (diff)
Some patches from Bob Nestor <rnestor@metronet.com> to edge toward support
for an Apple SONIC-based ethernet card. Includes a patch to the nubus probing that we worked out together. Some cards, like his, were being missed and/or probed like video cards\!
Diffstat (limited to 'sys/arch/mac68k/dev/if_ae_nubus.c')
-rw-r--r--sys/arch/mac68k/dev/if_ae_nubus.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_ae_nubus.c b/sys/arch/mac68k/dev/if_ae_nubus.c
index 856057d9847..a8a95ce924d 100644
--- a/sys/arch/mac68k/dev/if_ae_nubus.c
+++ b/sys/arch/mac68k/dev/if_ae_nubus.c
@@ -1,5 +1,5 @@
/* $NetBSD: if_ae_nubus.c,v 1.11 1997/03/19 08:04:39 scottr Exp $ */
-/* $OpenBSD: if_ae_nubus.c,v 1.4 1997/03/25 04:58:43 briggs Exp $ */
+/* $OpenBSD: if_ae_nubus.c,v 1.5 1997/04/08 04:14:45 briggs Exp $ */
/*
* Copyright (C) 1997 Scott Reynolds
@@ -348,11 +348,20 @@ ae_nb_card_vendor(na)
int vendor;
switch (na->drsw) {
- case NUBUS_DRSW_3COM:
case NUBUS_DRSW_APPLE:
case NUBUS_DRSW_TECHWORKS:
vendor = AE_VENDOR_APPLE;
break;
+ case NUBUS_DRSW_3COM:
+ switch (na->drhw) {
+ case NUBUS_DRHW_APPLE_SN:
+ vendor = AE_VENDOR_UNKNOWN;
+ break;
+ default: /* Apple, others, supported by AE */
+ vendor = AE_VENDOR_APPLE;
+ break;
+ }
+ break;
case NUBUS_DRSW_ASANTE:
vendor = AE_VENDOR_ASANTE;
break;