summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-31 18:02:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-31 18:02:06 +0000
commit51f3ea77e9bb4ef483668a3da7bd3e6a75be3ebe (patch)
treee2a8557b9d2a3e57557166287daf84aebf56fbfb /sys/dev
parentc08bae3a71dc5a1da42ff3750cf1bae41345433b (diff)
Match generic SVEC pcmcia NE2000 clone that identifies itself as 'Ethernet Adapter 2.0'. You just don't get any more generic than that do you? These boards are dirt cheap.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/if_ed.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c
index e69a5aa3086..3b4b8e8b9c0 100644
--- a/sys/dev/isa/if_ed.c
+++ b/sys/dev/isa/if_ed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ed.c,v 1.38 1998/06/03 18:50:45 deraadt Exp $ */
+/* $OpenBSD: if_ed.c,v 1.39 1998/07/31 18:02:05 millert Exp $ */
/* $NetBSD: if_ed.c,v 1.105 1996/10/21 22:40:45 thorpej Exp $ */
/*
@@ -223,7 +223,7 @@ ed_pcmcia_isa_attach(parent, match, aux, pc_link)
printf("Cannot read cis info %d\n", err);
return 0;
}
- if(bcmp(enaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN)) {
+ if (bcmp(enaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN)) {
printf("ENADDR MISMATCH %s ",
ether_sprintf(sc->sc_arpcom.ac_enaddr));
printf("- %s\n", ether_sprintf(enaddr));
@@ -319,6 +319,8 @@ struct pcmciadevs pcmcia_ed_devs[]={
/* something screwed up in ports requested */
{ "ed", 0, "SVEC", "FD605 PCMCIA EtherNet Card", "V1-1", NULL,
(void *)-1, (void *)&pcmcia_dlink },
+ { "ed", 0, "Ethernet", "Adapter", "2.0", NULL, (void *) -1,
+ (void *)&pcmcia_dlink },
#if 0
/* not quite right for ethernet adress */
{ "ed", 0, "PMX ", "PE-200", "ETHERNET", "R01", (void *)-1,