Patch to at least recognise FOCUS EtherLAN. From Erik Bertelson

<erik@sockdev.uni-c.dk>
This commit is contained in:
briggs 1996-01-12 04:52:58 +00:00
parent 4881a5d2a0
commit 2a61903be4
4 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ae.c,v 1.37 1995/12/24 02:30:37 mycroft Exp $ */
/* $NetBSD: if_ae.c,v 1.38 1996/01/12 04:53:02 briggs Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -218,6 +218,9 @@ ae_id_card(slot, sc)
case NUBUS_DRSW_FARALLON:
sc->vendor = AE_VENDOR_FARALLON;
break;
case NUBUS_DRSW_FOCUS:
sc->vendor = AE_VENDOR_FOCUS;
break;
case NUBUS_DRSW_GATOR:
switch (slottype.drhw) {
default:
@ -356,6 +359,8 @@ aeprobe(parent, match, aux)
sc->sc_arpcom.ac_enaddr[i] = *(sc->rom_addr + i);
break;
case AE_VENDOR_FOCUS:
print("Focus EtherLAN card detected, but not supported.\n");
default:
return (0);
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_aereg.h,v 1.11 1995/07/30 13:38:08 briggs Exp $ */
/* $NetBSD: if_aereg.h,v 1.12 1996/01/12 04:53:05 briggs Exp $ */
/*
* National Semiconductor DS8390 NIC register definitions.
@ -31,6 +31,7 @@ struct ae_ring {
#define AE_VENDOR_DAYNA 0x02 /* DaynaPORT E/30s (and others?) */
#define AE_VENDOR_ASANTE 0x03 /* Asante MacCon II/E */
#define AE_VENDOR_FARALLON 0x04 /* Farallon EtherMac II-TP */
#define AE_VENDOR_FOCUS 0x05 /* FOCUS Enhancements EtherLAN */
/*
* Compile-time config flags

View File

@ -1,4 +1,4 @@
/* $NetBSD: nubus.h,v 1.11 1995/09/24 14:13:56 briggs Exp $ */
/* $NetBSD: nubus.h,v 1.12 1996/01/12 04:52:58 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@ -65,6 +65,7 @@
#define NUBUS_DRSW_TECHWORKS 0x0109
#define NUBUS_DRHW_SONIC 0x0110
#define NUBUS_DRSW_FARALLON 0x010C
#define NUBUS_DRSW_FOCUS 0x011A
#define NUBUS_CATEGORY_COMMUNICATIONS 0x0006
#define NUBUS_TYPE_RS232 0x0002

View File

@ -1,4 +1,4 @@
/* $NetBSD: nubus.h,v 1.11 1995/09/24 14:13:56 briggs Exp $ */
/* $NetBSD: nubus.h,v 1.12 1996/01/12 04:52:58 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@ -65,6 +65,7 @@
#define NUBUS_DRSW_TECHWORKS 0x0109
#define NUBUS_DRHW_SONIC 0x0110
#define NUBUS_DRSW_FARALLON 0x010C
#define NUBUS_DRSW_FOCUS 0x011A
#define NUBUS_CATEGORY_COMMUNICATIONS 0x0006
#define NUBUS_TYPE_RS232 0x0002