summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-16 20:18:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-16 20:18:34 +0000
commit614b3f68ba896d9b653d8ff0344d9ff5d3a84b0c (patch)
treeef86326fc940f2ba892ae53b79cd35649814cb62 /sys/dev
parent439ffb2edfaec22c6afaa1622bb7e0c156c2b34f (diff)
match on elsa xi300; from netbsd, no other visible changes in the driver
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_wi.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_wi.c b/sys/dev/pcmcia/if_wi.c
index 5f7db3d4dd0..39469fb13bd 100644
--- a/sys/dev/pcmcia/if_wi.c
+++ b/sys/dev/pcmcia/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.20 2001/01/14 23:11:10 angelos Exp $ */
+/* $OpenBSD: if_wi.c,v 1.21 2001/01/16 20:18:33 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -133,7 +133,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.20 2001/01/14 23:11:10 angelos Exp $";
+ "$OpenBSD: if_wi.c,v 1.21 2001/01/16 20:18:33 mickey Exp $";
#endif /* lint */
#ifdef foo
@@ -196,6 +196,13 @@ wi_pcmcia_match(parent, match, aux)
/* XXX Per-productid checking here. */
return (1);
+ case PCMCIA_VENDOR_ELSA:
+ switch (pa->product) {
+ case PCMCIA_PRODUCT_ELSA_XI300_IEEE:
+ return (1);
+ }
+ return (0);
+
default:
return (0);
}