From c1ba9e6323d1493b99cfa181a861c6a7b780eca9 Mon Sep 17 00:00:00 2001 From: briggs Date: Tue, 8 Apr 1997 04:14:48 +0000 Subject: Some patches from Bob Nestor 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\! --- sys/arch/mac68k/dev/if_ae_nubus.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'sys/arch/mac68k/dev/if_ae_nubus.c') 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; -- cgit v1.2.3