Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia match 3Com 3CRWE737A (AirConnect)



details:   https://anonhg.NetBSD.org/src/rev/032298cd45b5
branches:  trunk
changeset: 494060:032298cd45b5
user:      joda <joda%NetBSD.org@localhost>
date:      Fri Jun 30 16:40:31 2000 +0000

description:
match 3Com 3CRWE737A (AirConnect)

diffstat:

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

diffs (27 lines):

diff -r b60f5f53470b -r 032298cd45b5 sys/dev/pcmcia/if_wi.c
--- a/sys/dev/pcmcia/if_wi.c    Fri Jun 30 16:33:38 2000 +0000
+++ b/sys/dev/pcmcia/if_wi.c    Fri Jun 30 16:40:31 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.22 2000/06/30 16:40:31 joda 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