From: briggs Date: Thu, 1 May 1997 18:32:48 +0000 (+0000) Subject: Treat drhw 118 and 119 the same for Apple ethernet cards. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d1efb66de9602f05aabd8b090cf4a3fee067a0ee;p=openbsd Treat drhw 118 and 119 the same for Apple ethernet cards. --- diff --git a/sys/arch/mac68k/dev/if_ae_nubus.c b/sys/arch/mac68k/dev/if_ae_nubus.c index 58075f69709..d18ecdfcf20 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.6 1997/04/24 02:17:56 gene Exp $ */ +/* $OpenBSD: if_ae_nubus.c,v 1.7 1997/05/01 18:32:49 briggs Exp $ */ +/* $NetBSD: if_ae_nubus.c,v 1.17 1997/05/01 18:17:16 briggs Exp $ */ /* * Copyright (C) 1997 Scott Reynolds @@ -355,6 +355,7 @@ ae_nb_card_vendor(na) case NUBUS_DRSW_3COM: switch (na->drhw) { case NUBUS_DRHW_APPLE_SN: + case NUBUS_DRHW_APPLE_SNT: vendor = AE_VENDOR_UNKNOWN; break; default: /* Apple, others, supported by AE */ diff --git a/sys/arch/mac68k/dev/if_sn_nubus.c b/sys/arch/mac68k/dev/if_sn_nubus.c index a0bcc3e4093..42b8188b43b 100644 --- a/sys/arch/mac68k/dev/if_sn_nubus.c +++ b/sys/arch/mac68k/dev/if_sn_nubus.c @@ -1,4 +1,5 @@ -/* $OpenBSD: if_sn_nubus.c,v 1.10 1997/04/22 13:37:56 briggs Exp $ */ +/* $OpenBSD: if_sn_nubus.c,v 1.11 1997/05/01 18:32:48 briggs Exp $ */ +/* $NetBSD: if_sn_nubus.c,v 1.12 1997/05/01 18:17:13 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -216,6 +217,7 @@ sn_nb_card_vendor(na) case NUBUS_DRSW_3COM: switch (na->drhw) { case NUBUS_DRHW_APPLE_SN: + case NUBUS_DRHW_APPLE_SNT: vendor = AE_VENDOR_APPLE; break; default: diff --git a/sys/arch/mac68k/dev/nubus.h b/sys/arch/mac68k/dev/nubus.h index 68c54b6655d..af2e978147d 100644 --- a/sys/arch/mac68k/dev/nubus.h +++ b/sys/arch/mac68k/dev/nubus.h @@ -1,5 +1,5 @@ -/* $OpenBSD: nubus.h,v 1.13 1997/05/01 03:35:53 briggs Exp $ */ -/* $NetBSD: nubus.h,v 1.17 1997/02/24 06:20:07 scottr Exp $ */ +/* $OpenBSD: nubus.h,v 1.14 1997/05/01 18:32:50 briggs Exp $ */ +/* $NetBSD: nubus.h,v 1.24 1997/05/01 18:17:18 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -79,6 +79,7 @@ #define NUBUS_DRHW_KINETICS 0x0106 #define NUBUS_DRHW_CABLETRON 0x0109 #define NUBUS_DRHW_SONIC 0x0110 +#define NUBUS_DRHW_APPLE_SNT 0x0118 #define NUBUS_DRHW_APPLE_SN 0x0119 #define NUBUS_CATEGORY_COMMUNICATIONS 0x0006