summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-12-04 06:49:59 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-12-04 06:49:59 +0000
commit1553d4263a08b0ccba83ebe39fb5c7719e4d0f31 (patch)
tree50e3772e6e6192cd50ae4c593a1dfeefdb04ab10 /sys/dev/pcmcia
parent3974175c17abce667adfca8a67e4ec3df6a3a4c2 (diff)
Add support for another ne2k compatible card, vendor unknown.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_ne_pcmcia.c7
-rw-r--r--sys/dev/pcmcia/pcmciadevs6
-rw-r--r--sys/dev/pcmcia/pcmciadevs.h10
-rw-r--r--sys/dev/pcmcia/pcmciadevs_data.h18
4 files changed, 35 insertions, 6 deletions
diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c
index 8d62b3c8953..16311235b2e 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.4 1998/11/06 06:32:15 fgsch Exp $ */
+/* $OpenBSD: if_ne_pcmcia.c,v 1.5 1998/12/04 06:49:58 fgsch Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */
/*
@@ -195,6 +195,11 @@ struct ne2000dev {
PCMCIA_VENDOR_DAYNA, PCMCIA_PRODUCT_DAYNA_COMMUNICARD_E_2,
PCMCIA_CIS_DAYNA_COMMUNICARD_E_2,
0, -1, { 0x00, 0x80, 0x19 } },
+
+ { PCMCIA_STR_UNKNOWN_ECARD,
+ PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_UNKNOWN_ECARD,
+ PCMCIA_CIS_UNKNOWN_ECARD,
+ 0, -1, { 0x00, 0xa0, 0x0c } },
#if 0
/* the rest of these are stolen from the linux pcnet pcmcia device
driver. Since I don't know the manfid or cis info strings for
diff --git a/sys/dev/pcmcia/pcmciadevs b/sys/dev/pcmcia/pcmciadevs
index a814dc7cb96..7e2e79748ad 100644
--- a/sys/dev/pcmcia/pcmciadevs
+++ b/sys/dev/pcmcia/pcmciadevs
@@ -1,4 +1,4 @@
- $OpenBSD: pcmciadevs,v 1.5 1998/11/05 09:12:52 fgsch Exp $
+ $OpenBSD: pcmciadevs,v 1.6 1998/12/04 06:49:58 fgsch Exp $
/* $NetBSD: pcmciadevs,v 1.13 1998/08/17 23:10:12 thorpej Exp $ */
/*
@@ -53,6 +53,7 @@ vendor SIMPLETECH 0x014d Simple Technology
vendor DAYNA 0x0194 Dayna
vendor IODATA 0x01bf I-O DATA
vendor HAGIWARASYSCOM 0xc012 Hagiwara SYS-COM
+vendor UNKNOWN 0x8a01 Unknown
/*
* List of known products. Grouped by vendor.
@@ -119,6 +120,9 @@ product NEWMEDIA BASICS 0x0019 NewMedia BASICS Ethernet
/* Standard Microsystems Corporation Products */
product SMC 8016 0x0105 SMC 8016 EtherCard
+/* Unknown Product */
+product UNKNOWN ECARD 0x0100 NE2000 Compatible
+
/* Cards we know only by their cis */
vendor PREMAX -1 Premax
vendor PLANET -1 Planet
diff --git a/sys/dev/pcmcia/pcmciadevs.h b/sys/dev/pcmcia/pcmciadevs.h
index 8e29803e1c7..215151b32c3 100644
--- a/sys/dev/pcmcia/pcmciadevs.h
+++ b/sys/dev/pcmcia/pcmciadevs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: pcmciadevs.h,v 1.6 1998/11/05 09:12:52 fgsch Exp $ */
+/* $OpenBSD: pcmciadevs.h,v 1.7 1998/12/04 06:49:58 fgsch Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: pcmciadevs,v 1.4 1998/10/14 07:34:43 fgsch Exp
+ * OpenBSD: pcmciadevs,v 1.5 1998/11/05 09:12:52 fgsch Exp
*/
/* $NetBSD: pcmciadevs,v 1.13 1998/08/17 23:10:12 thorpej Exp $ */
@@ -60,6 +60,7 @@
#define PCMCIA_VENDOR_DAYNA 0x0194 /* Dayna */
#define PCMCIA_VENDOR_IODATA 0x01bf /* I-O DATA */
#define PCMCIA_VENDOR_HAGIWARASYSCOM 0xc012 /* Hagiwara SYS-COM */
+#define PCMCIA_VENDOR_UNKNOWN 0x8a01 /* Unknown */
/*
* List of known products. Grouped by vendor.
@@ -186,6 +187,11 @@
#define PCMCIA_PRODUCT_SMC_8016 0x0105
#define PCMCIA_STR_SMC_8016 "SMC 8016 EtherCard"
+/* Unknown Product */
+#define PCMCIA_CIS_UNKNOWN_ECARD { NULL, NULL, NULL, NULL }
+#define PCMCIA_PRODUCT_UNKNOWN_ECARD 0x0100
+#define PCMCIA_STR_UNKNOWN_ECARD "NE2000 Compatible"
+
/* Cards we know only by their cis */
#define PCMCIA_VENDOR_PREMAX -1 /* Premax */
#define PCMCIA_VENDOR_PLANET -1 /* Planet */
diff --git a/sys/dev/pcmcia/pcmciadevs_data.h b/sys/dev/pcmcia/pcmciadevs_data.h
index 4af1fe48ba5..81c54ed22b9 100644
--- a/sys/dev/pcmcia/pcmciadevs_data.h
+++ b/sys/dev/pcmcia/pcmciadevs_data.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: pcmciadevs_data.h,v 1.6 1998/11/05 09:12:52 fgsch Exp $ */
+/* $OpenBSD: pcmciadevs_data.h,v 1.7 1998/12/04 06:49:58 fgsch Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: pcmciadevs,v 1.4 1998/10/14 07:34:43 fgsch Exp
+ * OpenBSD: pcmciadevs,v 1.5 1998/11/05 09:12:52 fgsch Exp
*/
/* $NetBSD: pcmciadevs,v 1.13 1998/08/17 23:10:12 thorpej Exp $ */
@@ -251,6 +251,13 @@ struct pcmcia_knowndev pcmcia_knowndevs[] = {
"SMC 8016 EtherCard" },
},
{
+ PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_UNKNOWN_ECARD,
+ PCMCIA_CIS_UNKNOWN_ECARD,
+ 0,
+ "Unknown",
+ "NE2000 Compatible" },
+ },
+ {
PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_MEGAHERTZ_XJ2288,
PCMCIA_CIS_MEGAHERTZ_XJ2288,
0,
@@ -447,6 +454,13 @@ struct pcmcia_knowndev pcmcia_knowndevs[] = {
NULL,
},
{
+ PCMCIA_VENDOR_UNKNOWN, 0,
+ PCMCIA_KNOWNDEV_NOPROD,
+ PCMCIA_CIS_INVALID,
+ "Unknown",
+ NULL,
+ },
+ {
PCMCIA_VENDOR_PREMAX, 0,
PCMCIA_KNOWNDEV_NOPROD,
PCMCIA_CIS_INVALID,