summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-01 20:18:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-01 20:18:46 +0000
commit46deb5a14edc692afd9e51a09747afa59085d2d6 (patch)
tree990176ffa4b747d16a1d0a421ce174d083716ba3
parent167d70901a80e1c68707ba3916a9b75b13771945 (diff)
Kingston KNE-PCM/x support.
tested by Lane Myer <myer at FreeBSD-uk dot eu dot org>.
-rw-r--r--sys/dev/pcmcia/if_ne_pcmcia.c9
-rw-r--r--sys/dev/pcmcia/pcmciadevs.h6
2 files changed, 9 insertions, 6 deletions
diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c
index 4d3cb7415c1..35a6952e0d0 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.68 2003/05/24 19:09:29 henning Exp $ */
+/* $OpenBSD: if_ne_pcmcia.c,v 1.69 2003/06/01 20:18:45 fgsch Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */
/*
@@ -411,6 +411,10 @@ const struct ne2000dev {
PCMCIA_CIS_ALLIEDTELESIS_LA_PCM,
0, 0x0ff0, { 0x00, 0x00, 0xf4 } },
+ { PCMCIA_VENDOR_KINGSTON, PCMCIA_PRODUCT_KINGSTON_KNE_PCM,
+ PCMCIA_CIS_KINGSTON_KNE_PCM,
+ 0, 0x0ff0, { 0xe2, 0x0c, 0x0f } },
+
{ PCMCIA_VENDOR_KINGSTON, PCMCIA_PRODUCT_KINGSTON_KNE_PC2,
PCMCIA_CIS_KINGSTON_KNE_PC2,
0, 0x0180, { 0x00, 0xc0, 0xf0 } },
@@ -479,9 +483,6 @@ const struct ne2000dev {
{ "Kingston KNE-PCM/x",
0x0000, 0x0000, NULL, NULL, 0,
0x0ff0, { 0x00, 0xc0, 0xf0 } },
- { "Kingston KNE-PCM/x",
- 0x0000, 0x0000, NULL, NULL, 0,
- 0x0ff0, { 0xe2, 0x0c, 0x0f } },
{ "Longshine LCS-8534",
0x0000, 0x0000, NULL, NULL, 0,
0x0000, { 0x08, 0x00, 0x00 } },
diff --git a/sys/dev/pcmcia/pcmciadevs.h b/sys/dev/pcmcia/pcmciadevs.h
index 79a05abb218..6742f755c94 100644
--- a/sys/dev/pcmcia/pcmciadevs.h
+++ b/sys/dev/pcmcia/pcmciadevs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: pcmciadevs.h,v 1.104 2003/05/24 19:02:36 henning Exp $ */
+/* $OpenBSD: pcmciadevs.h,v 1.105 2003/06/01 20:18:45 fgsch Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: pcmciadevs,v 1.102 2003/05/24 19:01:03 henning Exp
+ * OpenBSD: pcmciadevs,v 1.103 2003/06/01 20:15:50 fgsch Exp
*/
/* $NetBSD: pcmciadevs,v 1.13 1998/08/17 23:10:12 thorpej Exp $ */
@@ -287,6 +287,8 @@
#define PCMCIA_PRODUCT_INTEL_EEPRO100 0x010a
/* Kingston */
+#define PCMCIA_CIS_KINGSTON_KNE_PCM { NULL, NULL, NULL, NULL }
+#define PCMCIA_PRODUCT_KINGSTON_KNE_PCM 0x0001
#define PCMCIA_CIS_KINGSTON_KNE_PC2 { NULL, NULL, NULL, NULL }
#define PCMCIA_PRODUCT_KINGSTON_KNE_PC2 0x0100