summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2001-01-16 20:18:33 +0000
committermickey <mickey@openbsd.org>2001-01-16 20:18:33 +0000
commit643942aefe9e27d2afbc5c78015ee3e7a6d4769e (patch)
tree9df52fb612f46a419f6bb49188354d6a4f589a5a
parentregen (diff)
downloadwireguard-openbsd-643942aefe9e27d2afbc5c78015ee3e7a6d4769e.tar.xz
wireguard-openbsd-643942aefe9e27d2afbc5c78015ee3e7a6d4769e.zip
match on elsa xi300; from netbsd, no other visible changes in the driver
-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);
}