Source-Changes-HG archive

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

[src/trunk]: src/sys/dev support BUFFALO AirStation WLI-PCM-S11



details:   https://anonhg.NetBSD.org/src/rev/0bce2b321cfd
branches:  trunk
changeset: 509994:0bce2b321cfd
user:      ichiro <ichiro%NetBSD.org@localhost>
date:      Wed May 16 14:33:21 2001 +0000

description:
support BUFFALO AirStation WLI-PCM-S11
this card are PRISM2.5 card.

diffstat:

 sys/dev/ic/wi.c               |  6 +++++-
 sys/dev/ic/wireg.h            |  3 ++-
 sys/dev/pcmcia/if_wi_pcmcia.c |  7 ++++++-
 3 files changed, 13 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r d130da3d6ab0 -r 0bce2b321cfd sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c   Wed May 16 14:27:58 2001 +0000
+++ b/sys/dev/ic/wi.c   Wed May 16 14:33:21 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wi.c,v 1.11 2001/05/16 10:45:36 tsubai Exp $   */
+/*     $NetBSD: wi.c,v 1.12 2001/05/16 14:33:21 ichiro Exp $   */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -1707,6 +1707,10 @@
                        printf("PRISM II HWB3163 SST-flash");
                        sc->sc_prism2 = 1;
                        break;
+               case WI_NIC_PRISM2_5:
+                       printf("PRISM 2.5 ISL3873");
+                       sc->sc_prism2 = 1;
+                       break;
                default:
                        printf("Lucent chip or unknown chip\n");
                        sc->sc_prism2 = 0;
diff -r d130da3d6ab0 -r 0bce2b321cfd sys/dev/ic/wireg.h
--- a/sys/dev/ic/wireg.h        Wed May 16 14:27:58 2001 +0000
+++ b/sys/dev/ic/wireg.h        Wed May 16 14:33:21 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wireg.h,v 1.5 2001/05/16 10:45:36 tsubai Exp $ */
+/*     $NetBSD: wireg.h,v 1.6 2001/05/16 14:33:21 ichiro Exp $ */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -365,6 +365,7 @@
 #define WI_NIC_EVB3    0x8004
 #define WI_NIC_HWB1153 0x8007
 #define WI_NIC_P2_SST  0x8008  /* Prism2 with SST flush */
+#define WI_NIC_PRISM2_5        0x800C
 };
 
 /*
diff -r d130da3d6ab0 -r 0bce2b321cfd sys/dev/pcmcia/if_wi_pcmcia.c
--- a/sys/dev/pcmcia/if_wi_pcmcia.c     Wed May 16 14:27:58 2001 +0000
+++ b/sys/dev/pcmcia/if_wi_pcmcia.c     Wed May 16 14:33:21 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wi_pcmcia.c,v 1.2 2001/05/15 04:14:07 ichiro Exp $ */
+/* $NetBSD: if_wi_pcmcia.c,v 1.3 2001/05/16 14:33:21 ichiro Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -196,6 +196,11 @@
          PCMCIA_PRODUCT_IODATA2_WNB11PCM,
          PCMCIA_CIS_IODATA2_WNB11PCM,
          PCMCIA_STR_IODATA2_WNB11PCM },
+
+       { PCMCIA_VENDOR_BUFFALO,
+         PCMCIA_PRODUCT_BUFFALO_WLI_PCM_S11,
+         PCMCIA_CIS_BUFFALO_WLI_PCM_S11,
+         PCMCIA_STR_BUFFALO_WLI_PCM_S11 },
 #if 0
        { PCMCIA_VENDOR_EMTAC,
          PCMCIA_PRODUCT_EMTAC_WLAN,



Home | Main Index | Thread Index | Old Index