diff --git a/sys/arch/mac68k/dev/if_ae_nubus.c b/sys/arch/mac68k/dev/if_ae_nubus.c index 93d7ede36540..3b128924a29a 100644 --- a/sys/arch/mac68k/dev/if_ae_nubus.c +++ b/sys/arch/mac68k/dev/if_ae_nubus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ae_nubus.c,v 1.11 1997/03/19 08:04:39 scottr Exp $ */ +/* $NetBSD: if_ae_nubus.c,v 1.12 1997/04/10 03:19:46 briggs Exp $ */ /* * Copyright (C) 1997 Scott Reynolds @@ -355,6 +355,15 @@ ae_nb_card_vendor(na) switch (na->drsw) { case NUBUS_DRSW_3COM: + switch (na->drhw) { + case NUBUS_DRHW_APPLE_SN: + vendor = AE_VENDOR_UNKNOWN; + break; + default: + vendor = AE_VENDOR_APPLE; + break; + } + break; case NUBUS_DRSW_APPLE: case NUBUS_DRSW_TECHWORKS: vendor = AE_VENDOR_APPLE; diff --git a/sys/arch/mac68k/dev/nubus.h b/sys/arch/mac68k/dev/nubus.h index 19f3dab004d3..d725c91e9af0 100644 --- a/sys/arch/mac68k/dev/nubus.h +++ b/sys/arch/mac68k/dev/nubus.h @@ -1,4 +1,4 @@ -/* $NetBSD: nubus.h,v 1.19 1997/04/01 13:31:39 briggs Exp $ */ +/* $NetBSD: nubus.h,v 1.20 1997/04/10 03:19:47 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -71,8 +71,9 @@ #define NUBUS_DRSW_FOCUS 0x011A #define NUBUS_DRHW_INTERLAN 0x0100 #define NUBUS_DRHW_KINETICS 0x0106 -#define NUBUS_DRHW_SONIC 0x0110 #define NUBUS_DRHW_CABLETRON 0x0109 +#define NUBUS_DRHW_SONIC 0x0110 +#define NUBUS_DRHW_APPLE_SN 0x0119 #define NUBUS_CATEGORY_COMMUNICATIONS 0x0006 #define NUBUS_TYPE_RS232 0x0002 diff --git a/sys/arch/mac68k/nubus/if_ae_nubus.c b/sys/arch/mac68k/nubus/if_ae_nubus.c index 93d7ede36540..3b128924a29a 100644 --- a/sys/arch/mac68k/nubus/if_ae_nubus.c +++ b/sys/arch/mac68k/nubus/if_ae_nubus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ae_nubus.c,v 1.11 1997/03/19 08:04:39 scottr Exp $ */ +/* $NetBSD: if_ae_nubus.c,v 1.12 1997/04/10 03:19:46 briggs Exp $ */ /* * Copyright (C) 1997 Scott Reynolds @@ -355,6 +355,15 @@ ae_nb_card_vendor(na) switch (na->drsw) { case NUBUS_DRSW_3COM: + switch (na->drhw) { + case NUBUS_DRHW_APPLE_SN: + vendor = AE_VENDOR_UNKNOWN; + break; + default: + vendor = AE_VENDOR_APPLE; + break; + } + break; case NUBUS_DRSW_APPLE: case NUBUS_DRSW_TECHWORKS: vendor = AE_VENDOR_APPLE; diff --git a/sys/arch/mac68k/nubus/nubus.h b/sys/arch/mac68k/nubus/nubus.h index 19f3dab004d3..d725c91e9af0 100644 --- a/sys/arch/mac68k/nubus/nubus.h +++ b/sys/arch/mac68k/nubus/nubus.h @@ -1,4 +1,4 @@ -/* $NetBSD: nubus.h,v 1.19 1997/04/01 13:31:39 briggs Exp $ */ +/* $NetBSD: nubus.h,v 1.20 1997/04/10 03:19:47 briggs Exp $ */ /* * Copyright (c) 1995 Allen Briggs. All rights reserved. @@ -71,8 +71,9 @@ #define NUBUS_DRSW_FOCUS 0x011A #define NUBUS_DRHW_INTERLAN 0x0100 #define NUBUS_DRHW_KINETICS 0x0106 -#define NUBUS_DRHW_SONIC 0x0110 #define NUBUS_DRHW_CABLETRON 0x0109 +#define NUBUS_DRHW_SONIC 0x0110 +#define NUBUS_DRHW_APPLE_SN 0x0119 #define NUBUS_CATEGORY_COMMUNICATIONS 0x0006 #define NUBUS_TYPE_RS232 0x0002