History log of /netbsd-current/sys/dev/pcmcia/if_wi_pcmcia.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118
# 1.93 08-Jan-2019 msaitoh

Whitespace fix.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.92 07-Jul-2016 msaitoh

branches: 1.92.16;
KNF. Remove extra spaces. No functional change.


# 1.91 01-Jun-2016 pgoyette

Add 3Com 3CRWE777A to supported devices. From PR kern/39590


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base tls-maxphys-base
# 1.90 30-Mar-2013 christos

branches: 1.90.12;
remove trailing whitespace


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.89 15-Aug-2011 dyoung

branches: 1.89.2; 1.89.12;
Don't test truth of a pointer or assign 0 to it but compare / assign
NULL.


# 1.88 15-Aug-2011 dyoung

Remove superfluous parentheses in return statements. No change in the
generated assembly.


# 1.87 15-Aug-2011 dyoung

Only try to disestablish the interrupt handler if the handler was
previously established.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 rmind-uvmplock-base
# 1.86 23-Nov-2010 christos

split if_wi


Revision tags: uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 jym-xensuspend-nbase
# 1.85 05-Sep-2009 tsutsui

branches: 1.85.4;
Invert logic around nested pmf(9) registrations for readability.


Revision tags: yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-base
# 1.84 12-May-2009 cegger

struct device * -> device_t, no functional changes intended.


# 1.83 12-May-2009 cegger

struct cfdata * -> cfdata_t, no functional changes intended.


Revision tags: yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
# 1.82 14-Mar-2009 dsl

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.


# 1.81 14-Mar-2009 dsl

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)


Revision tags: nick-hppapmap-base2 haad-dm-base2 haad-nbase2 ad-audiomp2-base haad-dm-base mjf-devfs2-base
# 1.80 12-Nov-2008 ad

branches: 1.80.4;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
# 1.79 28-Apr-2008 martin

branches: 1.79.6; 1.79.8;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
# 1.78 05-Apr-2008 cegger

branches: 1.78.2; 1.78.4;
use aprint_*_dev and device_xname


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.77 09-Dec-2007 jmcneill

branches: 1.77.10;
Merge jmcneill-pm branch.


Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.76 19-Oct-2007 ad

branches: 1.76.4; 1.76.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base
# 1.75 10-Dec-2006 uwe

branches: 1.75.6; 1.75.18; 1.75.20; 1.75.24;
Provide aprint_naive("\n"); in attach.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
# 1.74 25-Nov-2006 dsl

Include the spectrum24y firmware when built as a LKM


# 1.73 25-Nov-2006 dsl

Make the inclusion of the spectrum24t firmware a config option, default
to enabled.


# 1.72 16-Nov-2006 christos

__unused removal on arguments; approved by core.


Revision tags: yamt-splraiseipl-base2
# 1.71 12-Oct-2006 christos

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# 1.70 24-Sep-2006 jmcneill

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@


Revision tags: abandoned-netbsd-4-base yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 yamt-pdpolicy-base7 rpaulo-netinet-merge-pcb-base
# 1.69 28-Jul-2006 scottr

branches: 1.69.4; 1.69.6;
Add Siemens SS1021 WLAN.


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
# 1.68 11-Dec-2005 christos

branches: 1.68.4; 1.68.8;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.67 06-Jul-2005 dyoung

branches: 1.67.2;
Identify Alvarion Ltd. BreezeNET PC-DS.11b. Addresses kern/30231.


# 1.66 22-Jun-2005 dyoung

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.


# 1.65 10-Jun-2005 itohy

cc1: warnings being treated as errors
../../../../dev/pcmcia/if_wi_pcmcia.c: In function `wi_pcmcia_write_firm':
../../../../dev/pcmcia/if_wi_pcmcia.c:511: warning: cast discards qualifiers from pointer target type
../../../../dev/pcmcia/if_wi_pcmcia.c:512: warning: cast discards qualifiers from pointer target type


# 1.64 07-May-2005 martin

Add SMC2531W-B EliteConnect Wireless Adapter.
From Matthias Petermann in PR kern/30001.


Revision tags: yamt-km-base4 kent-audio2-base
# 1.63 23-Mar-2005 martin

Add support for Proxim RangeLAN-DS 8430;
from Gabriel Fort�, via Julien Rampon on tech-net


# 1.62 19-Mar-2005 christos

PR/29482: Kirk Strauser: Add support for Microsoft MN-520 PCMCIA WLAN card


Revision tags: yamt-km-base3 netbsd-3-base
# 1.61 27-Feb-2005 perry

branches: 1.61.2;
nuke trailing whitespace


Revision tags: yamt-km-base2
# 1.60 04-Feb-2005 perry

de-__P


Revision tags: yamt-km-base
# 1.59 21-Jan-2005 imp

branches: 1.59.2;
Update to using new INTERSIL names, plus a couple generic entries from FreeBSD


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.58 10-Aug-2004 mycroft

branches: 1.58.4;
Rather than the silly state machine, set whatever higher-level reference
count there is (for SCSI, adapt_refcnt) to 1 and call the appropriate
"delref" function afterwards to disable the controller. This is a bit
simpler.

In a couple of cases, just remove the state machine, because it wasn't
really necessary.


# 1.57 10-Aug-2004 mycroft

Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.


# 1.56 10-Aug-2004 mycroft

Enhance pcmcia_product_lookup():
* Remove the "expected function" value. This was just causing problems with
multifunction cards. Differentiating the functions is better done by
checking the function type (which we now do in ep and sm).
* Add support for matching CIS strings. This necessitated changing the calling
pattern a little too.

Use this enhanced version rather than driver-specific versions that do the
same thing.

Also, remove the last vestiges of PCMCIA_STR_*.


# 1.55 10-Aug-2004 mycroft

More careful about cleaning up pointers.


# 1.54 10-Aug-2004 mycroft

Print diagnostics in only one place if intr_establish() or function_enable()
fails.

Also, be a little more careful about passing up error values, and consistently
clear our interrupt handler pointer.


# 1.53 10-Aug-2004 mycroft

Copyright maintenance.


# 1.52 10-Aug-2004 mycroft

Update to the new world order.


# 1.51 09-Aug-2004 mycroft

Make pcmcia_function_disable() primarily responsible for disabling the CCR
bits. pcmcia_intr_disestablish() continues to do this as a stopgap.


# 1.50 09-Aug-2004 mycroft

Do our io_map()s and intr_establish()es earlier.


# 1.49 09-Aug-2004 mycroft

Access to this device is strictly 16-bit, so use PCMCIA_WIDTH_IO16.


# 1.48 08-Aug-2004 mycroft

Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular
case (ne@pcmcia) where we were using these to create a subregion, it is better
handled by calling bus_space_subregion().

Now there is a 1:1 mapping between I/O spaces in the config table and windows
mapped in the function. Rework the multifunction mapping code to take
advantage of this by using both I/O base addresses if necessary.


# 1.47 07-Aug-2004 mycroft

Clean up the Lucent (and clone) entries a bit.
Add the Hermes II (doesn't work yet, but it's harmless).


# 1.46 07-Aug-2004 mycroft

Clean up attach messages.


# 1.45 05-Aug-2004 mycroft

Match Spectrum24 by product ID, not string.


# 1.44 05-Aug-2004 mycroft

Add Asustek WL-100, per PR 26559.


# 1.43 07-Jul-2004 mycroft

More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.


# 1.42 07-Jul-2004 mycroft

The PCMCIA_STR_* values in this driver weren't even used! Remove them.
Also, add a new device, and printf()->aprint_normal().


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 25-Jan-2004 sekiya

Add definition for IO-DATA WCF12 wireless CF card and allow the wi driver to
match it. Definition originally from FreeBSD by way of Steve Rumble.


# 1.40 27-Dec-2003 christos

Don't print an empty "wi0:\n" line. Join a couple of lines.


# 1.39 25-Dec-2003 nonaka

Added corega WLCFL-11 entry.


# 1.38 07-Dec-2003 dyoung

Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-based
APs to run at "full speed" where before they ran at just 1 or 2Mb/s.
The AP will adapt the data rate for each client based on packet
losses and the received signal strength.

I have also enabled rate adaptation for STA mode and for IBSS mode,
but the hardware gives us less control over the data rate in those
modes.


# 1.37 16-Nov-2003 dyoung

Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.


# 1.36 02-Nov-2003 dyoung

Fix PCMCIA attach messages for wi(4). Tested by Greg Troxel.


# 1.35 13-Oct-2003 dyoung

Switch wi(4) to the new 802.11 layer.


# 1.34 16-Sep-2003 onoe

Add Sony PEGA-WL110 CF WLAN


# 1.33 29-Mar-2003 perry

branches: 1.33.2;
support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.32 29-Dec-2002 jdc

Match the D-Link DWL650H.
Tested on i386 and hpcarm.


Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base
# 1.31 25-Nov-2002 thorpej

Avoid strict-alias warnings.


# 1.30 06-Nov-2002 onoe

Add support of Sony PEGA-WL100 CF Wireless LAN Card.


Revision tags: kqueue-aftermerge kqueue-beforemerge kqueue-base
# 1.29 02-Oct-2002 thorpej

Add trailing ; to CFATTACH_DECL.


# 1.28 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.27 30-Sep-2002 onoe

Nuke unneeded member sc_ifp and use #define sc_if instead,
to prepare jumbo commit for wi.c


# 1.26 27-Sep-2002 thorpej

Declare all cfattach structures const.


# 1.25 04-Sep-2002 mason

Support this device, which is evidently a rebadged GEMTEK WLAN which we
already support under another name:

wi0 at pcmcia0 function 0: NETGEAR MA401RA Wireless PC, Card, ISL37300PEval-RevA
wi0: 802.11 address <whatever>
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)


Revision tags: gehenna-devsw-base
# 1.24 17-Jun-2002 martin

Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252.


# 1.23 08-Jun-2002 martin

Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
in PR kern/17194.


# 1.22 01-Jun-2002 lukem

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups


# 1.21 31-May-2002 mycroft

Add a Nortel e-Mobility card.


# 1.20 26-May-2002 tshiozak

add PLANEX GW-NS11H Wireless LAN PC Card.


Revision tags: netbsd-1-6-base
# 1.19 20-May-2002 thorpej

branches: 1.19.2;
Add another Linksys card.


# 1.18 07-May-2002 onoe

branches: 1.18.2;
Add support for LINKSYS Instant Wireless Network CF Card


# 1.17 15-Apr-2002 onoe

Add support to Symbol Wireless Networker CF card.
The card is Type 1 CF card and it doesn't have firmware in.
So we need to download the firmware image into the card before
touching it.
XXX downloading code should be written in generic (bus independent),
but I don't have enough information for now.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.16 17-Jan-2002 joda

add support for Ericsson PRISM2 card (kern/15130)


# 1.15 04-Dec-2001 christos

PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed.


# 1.14 26-Nov-2001 ichiro

support BUFFALO CFtype WLAN card

wi0 at pcmcia1 function 0: BUFFALO, WLI-CF-S11G,
wi0: 802.11 address 00:07:40:0f:03:ea
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4


# 1.13 18-Nov-2001 mrg

match the linksys prism2 card.


# 1.12 13-Nov-2001 lukem

add RCSIDs


Revision tags: thorpej-mips-cache-base
# 1.11 01-Nov-2001 imp

Add Intel PRO WLAN 2011.


# 1.10 27-Oct-2001 ichiro

add entry ELSA XI-800 CF wavelan card


# 1.9 20-Oct-2001 mjl

branches: 1.9.2;
Add Corega PCCB-11, as per PR/14298


# 1.8 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.7 17-Sep-2001 ichiro

add entry "GEMTEK CF WaveLAN Card"


Revision tags: post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.6 13-Jul-2001 onoe

branches: 1.6.2;
disable the function if attach fails.


# 1.5 01-Jul-2001 thorpej

branches: 1.5.2;
Remove unneeded include files. From Onno van der Linden.


# 1.4 27-Jun-2001 ichiro

enabling EMTAC A2424i Wavelan Card
It work fine.


# 1.3 16-May-2001 ichiro

branches: 1.3.2;
support BUFFALO AirStation WLI-PCM-S11
this card are PRISM2.5 card.


# 1.2 15-May-2001 ichiro

It enabled it to control roaming mode and authentication mode.
Roaming mode can change value into 'firm mode' and disable.
Authentication mode can change into 'Open System authentication'
and 'Shared Key Authentication' with Prism2 chip.

wi_get_id() was introduced in order that chip might judge automatically
whether it is Prism2 chip. Therefore, a pp_prism2 entry in
"struct wi_pcmcia_product" became unnecessary.


# 1.1 06-May-2001 ichiro

divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.92 07-Jul-2016 msaitoh

KNF. Remove extra spaces. No functional change.


# 1.91 01-Jun-2016 pgoyette

Add 3Com 3CRWE777A to supported devices. From PR kern/39590


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base tls-maxphys-base
# 1.90 30-Mar-2013 christos

branches: 1.90.12;
remove trailing whitespace


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.89 15-Aug-2011 dyoung

branches: 1.89.2; 1.89.12;
Don't test truth of a pointer or assign 0 to it but compare / assign
NULL.


# 1.88 15-Aug-2011 dyoung

Remove superfluous parentheses in return statements. No change in the
generated assembly.


# 1.87 15-Aug-2011 dyoung

Only try to disestablish the interrupt handler if the handler was
previously established.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 rmind-uvmplock-base
# 1.86 23-Nov-2010 christos

split if_wi


Revision tags: uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 jym-xensuspend-nbase
# 1.85 05-Sep-2009 tsutsui

branches: 1.85.4;
Invert logic around nested pmf(9) registrations for readability.


Revision tags: yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-base
# 1.84 12-May-2009 cegger

struct device * -> device_t, no functional changes intended.


# 1.83 12-May-2009 cegger

struct cfdata * -> cfdata_t, no functional changes intended.


Revision tags: yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
# 1.82 14-Mar-2009 dsl

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.


# 1.81 14-Mar-2009 dsl

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)


Revision tags: nick-hppapmap-base2 haad-dm-base2 haad-nbase2 ad-audiomp2-base haad-dm-base mjf-devfs2-base
# 1.80 12-Nov-2008 ad

branches: 1.80.4;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
# 1.79 28-Apr-2008 martin

branches: 1.79.6; 1.79.8;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base
# 1.78 05-Apr-2008 cegger

branches: 1.78.2; 1.78.4;
use aprint_*_dev and device_xname


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.77 09-Dec-2007 jmcneill

branches: 1.77.10;
Merge jmcneill-pm branch.


Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.76 19-Oct-2007 ad

branches: 1.76.4; 1.76.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base4 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 newlock2-base
# 1.75 10-Dec-2006 uwe

branches: 1.75.6; 1.75.18; 1.75.20; 1.75.24;
Provide aprint_naive("\n"); in attach.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
# 1.74 25-Nov-2006 dsl

Include the spectrum24y firmware when built as a LKM


# 1.73 25-Nov-2006 dsl

Make the inclusion of the spectrum24t firmware a config option, default
to enabled.


# 1.72 16-Nov-2006 christos

__unused removal on arguments; approved by core.


Revision tags: yamt-splraiseipl-base2
# 1.71 12-Oct-2006 christos

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# 1.70 24-Sep-2006 jmcneill

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@


Revision tags: abandoned-netbsd-4-base yamt-splraiseipl-base yamt-pdpolicy-base9 yamt-pdpolicy-base8 yamt-pdpolicy-base7 rpaulo-netinet-merge-pcb-base
# 1.69 28-Jul-2006 scottr

branches: 1.69.4; 1.69.6;
Add Siemens SS1021 WLAN.


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
# 1.68 11-Dec-2005 christos

branches: 1.68.4; 1.68.8;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.67 06-Jul-2005 dyoung

branches: 1.67.2;
Identify Alvarion Ltd. BreezeNET PC-DS.11b. Addresses kern/30231.


# 1.66 22-Jun-2005 dyoung

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.


# 1.65 10-Jun-2005 itohy

cc1: warnings being treated as errors
../../../../dev/pcmcia/if_wi_pcmcia.c: In function `wi_pcmcia_write_firm':
../../../../dev/pcmcia/if_wi_pcmcia.c:511: warning: cast discards qualifiers from pointer target type
../../../../dev/pcmcia/if_wi_pcmcia.c:512: warning: cast discards qualifiers from pointer target type


# 1.64 07-May-2005 martin

Add SMC2531W-B EliteConnect Wireless Adapter.
From Matthias Petermann in PR kern/30001.


Revision tags: yamt-km-base4 kent-audio2-base
# 1.63 23-Mar-2005 martin

Add support for Proxim RangeLAN-DS 8430;
from Gabriel Fort�, via Julien Rampon on tech-net


# 1.62 19-Mar-2005 christos

PR/29482: Kirk Strauser: Add support for Microsoft MN-520 PCMCIA WLAN card


Revision tags: yamt-km-base3 netbsd-3-base
# 1.61 27-Feb-2005 perry

branches: 1.61.2;
nuke trailing whitespace


Revision tags: yamt-km-base2
# 1.60 04-Feb-2005 perry

de-__P


Revision tags: yamt-km-base
# 1.59 21-Jan-2005 imp

branches: 1.59.2;
Update to using new INTERSIL names, plus a couple generic entries from FreeBSD


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.58 10-Aug-2004 mycroft

branches: 1.58.4;
Rather than the silly state machine, set whatever higher-level reference
count there is (for SCSI, adapt_refcnt) to 1 and call the appropriate
"delref" function afterwards to disable the controller. This is a bit
simpler.

In a couple of cases, just remove the state machine, because it wasn't
really necessary.


# 1.57 10-Aug-2004 mycroft

Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.


# 1.56 10-Aug-2004 mycroft

Enhance pcmcia_product_lookup():
* Remove the "expected function" value. This was just causing problems with
multifunction cards. Differentiating the functions is better done by
checking the function type (which we now do in ep and sm).
* Add support for matching CIS strings. This necessitated changing the calling
pattern a little too.

Use this enhanced version rather than driver-specific versions that do the
same thing.

Also, remove the last vestiges of PCMCIA_STR_*.


# 1.55 10-Aug-2004 mycroft

More careful about cleaning up pointers.


# 1.54 10-Aug-2004 mycroft

Print diagnostics in only one place if intr_establish() or function_enable()
fails.

Also, be a little more careful about passing up error values, and consistently
clear our interrupt handler pointer.


# 1.53 10-Aug-2004 mycroft

Copyright maintenance.


# 1.52 10-Aug-2004 mycroft

Update to the new world order.


# 1.51 09-Aug-2004 mycroft

Make pcmcia_function_disable() primarily responsible for disabling the CCR
bits. pcmcia_intr_disestablish() continues to do this as a stopgap.


# 1.50 09-Aug-2004 mycroft

Do our io_map()s and intr_establish()es earlier.


# 1.49 09-Aug-2004 mycroft

Access to this device is strictly 16-bit, so use PCMCIA_WIDTH_IO16.


# 1.48 08-Aug-2004 mycroft

Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular
case (ne@pcmcia) where we were using these to create a subregion, it is better
handled by calling bus_space_subregion().

Now there is a 1:1 mapping between I/O spaces in the config table and windows
mapped in the function. Rework the multifunction mapping code to take
advantage of this by using both I/O base addresses if necessary.


# 1.47 07-Aug-2004 mycroft

Clean up the Lucent (and clone) entries a bit.
Add the Hermes II (doesn't work yet, but it's harmless).


# 1.46 07-Aug-2004 mycroft

Clean up attach messages.


# 1.45 05-Aug-2004 mycroft

Match Spectrum24 by product ID, not string.


# 1.44 05-Aug-2004 mycroft

Add Asustek WL-100, per PR 26559.


# 1.43 07-Jul-2004 mycroft

More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.


# 1.42 07-Jul-2004 mycroft

The PCMCIA_STR_* values in this driver weren't even used! Remove them.
Also, add a new device, and printf()->aprint_normal().


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.41 25-Jan-2004 sekiya

Add definition for IO-DATA WCF12 wireless CF card and allow the wi driver to
match it. Definition originally from FreeBSD by way of Steve Rumble.


# 1.40 27-Dec-2003 christos

Don't print an empty "wi0:\n" line. Join a couple of lines.


# 1.39 25-Dec-2003 nonaka

Added corega WLCFL-11 entry.


# 1.38 07-Dec-2003 dyoung

Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-based
APs to run at "full speed" where before they ran at just 1 or 2Mb/s.
The AP will adapt the data rate for each client based on packet
losses and the received signal strength.

I have also enabled rate adaptation for STA mode and for IBSS mode,
but the hardware gives us less control over the data rate in those
modes.


# 1.37 16-Nov-2003 dyoung

Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.


# 1.36 02-Nov-2003 dyoung

Fix PCMCIA attach messages for wi(4). Tested by Greg Troxel.


# 1.35 13-Oct-2003 dyoung

Switch wi(4) to the new 802.11 layer.


# 1.34 16-Sep-2003 onoe

Add Sony PEGA-WL110 CF WLAN


# 1.33 29-Mar-2003 perry

branches: 1.33.2;
support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.32 29-Dec-2002 jdc

Match the D-Link DWL650H.
Tested on i386 and hpcarm.


Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base
# 1.31 25-Nov-2002 thorpej

Avoid strict-alias warnings.


# 1.30 06-Nov-2002 onoe

Add support of Sony PEGA-WL100 CF Wireless LAN Card.


Revision tags: kqueue-aftermerge kqueue-beforemerge kqueue-base
# 1.29 02-Oct-2002 thorpej

Add trailing ; to CFATTACH_DECL.


# 1.28 30-Sep-2002 thorpej

Use CFATTACH_DECL().


# 1.27 30-Sep-2002 onoe

Nuke unneeded member sc_ifp and use #define sc_if instead,
to prepare jumbo commit for wi.c


# 1.26 27-Sep-2002 thorpej

Declare all cfattach structures const.


# 1.25 04-Sep-2002 mason

Support this device, which is evidently a rebadged GEMTEK WLAN which we
already support under another name:

wi0 at pcmcia0 function 0: NETGEAR MA401RA Wireless PC, Card, ISL37300PEval-RevA
wi0: 802.11 address <whatever>
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)


Revision tags: gehenna-devsw-base
# 1.24 17-Jun-2002 martin

Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252.


# 1.23 08-Jun-2002 martin

Add support for ACTIONTEC wireless lan card, from jasper@pointless.net
in PR kern/17194.


# 1.22 01-Jun-2002 lukem

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups


# 1.21 31-May-2002 mycroft

Add a Nortel e-Mobility card.


# 1.20 26-May-2002 tshiozak

add PLANEX GW-NS11H Wireless LAN PC Card.


Revision tags: netbsd-1-6-base
# 1.19 20-May-2002 thorpej

branches: 1.19.2;
Add another Linksys card.


# 1.18 07-May-2002 onoe

branches: 1.18.2;
Add support for LINKSYS Instant Wireless Network CF Card


# 1.17 15-Apr-2002 onoe

Add support to Symbol Wireless Networker CF card.
The card is Type 1 CF card and it doesn't have firmware in.
So we need to download the firmware image into the card before
touching it.
XXX downloading code should be written in generic (bus independent),
but I don't have enough information for now.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.16 17-Jan-2002 joda

add support for Ericsson PRISM2 card (kern/15130)


# 1.15 04-Dec-2001 christos

PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed.


# 1.14 26-Nov-2001 ichiro

support BUFFALO CFtype WLAN card

wi0 at pcmcia1 function 0: BUFFALO, WLI-CF-S11G,
wi0: 802.11 address 00:07:40:0f:03:ea
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4


# 1.13 18-Nov-2001 mrg

match the linksys prism2 card.


# 1.12 13-Nov-2001 lukem

add RCSIDs


Revision tags: thorpej-mips-cache-base
# 1.11 01-Nov-2001 imp

Add Intel PRO WLAN 2011.


# 1.10 27-Oct-2001 ichiro

add entry ELSA XI-800 CF wavelan card


# 1.9 20-Oct-2001 mjl

branches: 1.9.2;
Add Corega PCCB-11, as per PR/14298


# 1.8 13-Oct-2001 ichiro

Add Intersil Prism2.5 Mini-PCI wavelan.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2
# 1.7 17-Sep-2001 ichiro

add entry "GEMTEK CF WaveLAN Card"


Revision tags: post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.6 13-Jul-2001 onoe

branches: 1.6.2;
disable the function if attach fails.


# 1.5 01-Jul-2001 thorpej

branches: 1.5.2;
Remove unneeded include files. From Onno van der Linden.


# 1.4 27-Jun-2001 ichiro

enabling EMTAC A2424i Wavelan Card
It work fine.


# 1.3 16-May-2001 ichiro

branches: 1.3.2;
support BUFFALO AirStation WLI-PCM-S11
this card are PRISM2.5 card.


# 1.2 15-May-2001 ichiro

It enabled it to control roaming mode and authentication mode.
Roaming mode can change value into 'firm mode' and disable.
Authentication mode can change into 'Open System authentication'
and 'Shared Key Authentication' with Prism2 chip.

wi_get_id() was introduced in order that chip might judge automatically
whether it is Prism2 chip. Therefore, a pp_prism2 entry in
"struct wi_pcmcia_product" became unnecessary.


# 1.1 06-May-2001 ichiro

divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .