diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-31 22:51:49 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-31 22:51:49 +0000 |
commit | 2b6d036d380ff942adee618b56dede939077ee64 (patch) | |
tree | 86c3305fd0921a72df9359998ac4a71765f63232 | |
parent | 02a41a127e7988eb842806a62b0693c625e856f1 (diff) |
Add CNet NE2000 support.
-rw-r--r-- | sys/dev/pcmcia/if_ne_pcmcia.c | 6 | ||||
-rw-r--r-- | sys/dev/pcmcia/pcmciadevs.h | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c index 4f01751cd61..f8f1ec37109 100644 --- a/sys/dev/pcmcia/if_ne_pcmcia.c +++ b/sys/dev/pcmcia/if_ne_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ne_pcmcia.c,v 1.22 1999/12/23 17:07:03 fgsch Exp $ */ +/* $OpenBSD: if_ne_pcmcia.c,v 1.23 2000/01/31 22:51:48 fgsch Exp $ */ /* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */ /* @@ -134,6 +134,10 @@ struct ne2000dev { PCMCIA_CIS_EDIMAX_NE2000, 0, -1, { 0x00, 0x00, 0xb4 } }, + { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, + PCMCIA_CIS_CNET_NE2000, + 0, -1, { 0x00, 0x80, 0xad } }, + /* * You have to add new entries which contains * PCMCIA_VENDOR_INVALID and/or PCMCIA_PRODUCT_INVALID diff --git a/sys/dev/pcmcia/pcmciadevs.h b/sys/dev/pcmcia/pcmciadevs.h index 32ed5346f83..265c76497ba 100644 --- a/sys/dev/pcmcia/pcmciadevs.h +++ b/sys/dev/pcmcia/pcmciadevs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: pcmciadevs.h,v 1.34 1999/12/23 17:04:40 fgsch Exp $ */ +/* $OpenBSD: pcmciadevs.h,v 1.35 2000/01/31 22:51:48 fgsch Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * OpenBSD: pcmciadevs,v 1.29 1999/12/23 17:03:18 fgsch Exp + * OpenBSD: pcmciadevs,v 1.30 2000/01/31 22:50:44 fgsch Exp */ /* $NetBSD: pcmciadevs,v 1.13 1998/08/17 23:10:12 thorpej Exp $ */ @@ -349,6 +349,7 @@ #define PCMCIA_VENDOR_SVEC -1 /* SVEC/Hawking */ #define PCMCIA_VENDOR_AMBICOM -1 /* AmbiCom */ #define PCMCIA_VENDOR_EDIMAX -1 /* Edimax */ +#define PCMCIA_VENDOR_CNET -1 /* CNet */ #define PCMCIA_CIS_MEGAHERTZ_XJ2288 { "MEGAHERTZ", "MODEM XJ2288", NULL, NULL } #define PCMCIA_PRODUCT_MEGAHERTZ_XJ2288 PCMCIA_PRODUCT_INVALID @@ -420,3 +421,6 @@ #define PCMCIA_CIS_EDIMAX_NE2000 { "PCMCIA", "Ethernet", NULL, NULL } #define PCMCIA_PRODUCT_EDIMAX_NE2000 PCMCIA_PRODUCT_INVALID #define PCMCIA_STR_EDIMAX_NE2000 "Edimax" +#define PCMCIA_CIS_CNET_NE2000 { "CNet", "CN40BC Ethernet", "D", "NE2000" } +#define PCMCIA_PRODUCT_CNET_NE2000 PCMCIA_PRODUCT_INVALID +#define PCMCIA_STR_CNET_NE2000 "CNet" |