summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-08-04 15:51:03 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-08-04 15:51:03 +0000
commit09a5aedeafa9517b34812070bee31278c9b1f18c (patch)
treedd33d9e42bfc44448adb8d57998490ccf103ea0f /sys
parentf3f67949cf62cc7c994e81f1d1e3d091adfc02f6 (diff)
Support for the Psion Goldcard; pt98kfr@student.hk-r.se
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pcmcia/if_sm_pcmcia.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_sm_pcmcia.c b/sys/dev/pcmcia/if_sm_pcmcia.c
index e3a294c1131..22ccd74dab5 100644
--- a/sys/dev/pcmcia/if_sm_pcmcia.c
+++ b/sys/dev/pcmcia/if_sm_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sm_pcmcia.c,v 1.13 2000/06/20 05:01:11 niklas Exp $ */
+/* $OpenBSD: if_sm_pcmcia.c,v 1.14 2000/08/04 15:51:02 aaron Exp $ */
/* $NetBSD: if_sm_pcmcia.c,v 1.11 1998/08/15 20:47:32 thorpej Exp $ */
/*-
@@ -122,6 +122,8 @@ struct sm_pcmcia_product {
{ PCMCIA_VENDOR_NEWMEDIA, PCMCIA_PRODUCT_NEWMEDIA_BASICS,
0 },
{ PCMCIA_VENDOR_SMC, PCMCIA_PRODUCT_SMC_8020,
+ 0 },
+ { PCMCIA_VENDOR_PSION, PCMCIA_PRODUCT_PSION_GOLDCARD,
0 }
};
@@ -340,7 +342,8 @@ sm_pcmcia_lannid_ciscallback(tuple, arg)
u_int8_t *myla = arg;
int i;
- if (tuple->code == PCMCIA_CISTPL_FUNCE) {
+ if (tuple->code == PCMCIA_CISTPL_FUNCE || tuple->code ==
+ PCMCIA_CISTPL_SPCL) {
/* subcode, length */
if (tuple->length < 2)
return (0);