Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/pcmcia Pull up rev. 1.22:



details:   https://anonhg.NetBSD.org/src/rev/2a5aa26f4e2f
branches:  netbsd-1-5
changeset: 488399:2a5aa26f4e2f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jul 03 22:34:42 2000 +0000

description:
Pull up rev. 1.22:
match 3Com 3CRWE737A (AirConnect)

diffstat:

 sys/dev/pcmcia/if_wi.c |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8929a1584668 -r 2a5aa26f4e2f sys/dev/pcmcia/if_wi.c
--- a/sys/dev/pcmcia/if_wi.c    Mon Jul 03 22:34:17 2000 +0000
+++ b/sys/dev/pcmcia/if_wi.c    Mon Jul 03 22:34:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wi.c,v 1.21 2000/06/06 14:01:40 pooka Exp $ */
+/*     $NetBSD: if_wi.c,v 1.21.2.1 2000/07/03 22:34:42 thorpej Exp $   */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -172,8 +172,15 @@
 {
        struct pcmcia_attach_args *pa = aux;
 
-       return (pa->manufacturer == PCMCIA_VENDOR_LUCENT &&
-           pa->product == PCMCIA_PRODUCT_LUCENT_WAVELAN_IEEE);
+       if (pa->manufacturer == PCMCIA_VENDOR_LUCENT &&
+           pa->product == PCMCIA_PRODUCT_LUCENT_WAVELAN_IEEE)
+         return 1;
+
+       if (pa->manufacturer == PCMCIA_VENDOR_3COM &&
+           pa->product == PCMCIA_PRODUCT_3COM_3CRWE737A)
+         return 1;
+
+       return 0;
 }
 
 int



Home | Main Index | Thread Index | Old Index