Changes from Bob Nestor to come closer to supporting his Apple SONIC-based

nubus card.
This commit is contained in:
briggs 1997-04-10 03:19:46 +00:00
parent db0f072019
commit 574874a2a9
4 changed files with 26 additions and 6 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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