Home | History | Annotate | Download | only in pcmcia
History log of /src/sys/dev/pcmcia/if_an_pcmcia.c
RevisionDateAuthorComments
 1.41  27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.40  05-Sep-2009  tsutsui branches: 1.40.12; 1.40.22;
Invert logic around nested pmf(9) registrations for readability.
 1.39  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.38  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.37  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.)
 1.36  03-Jul-2008  drochner branches: 1.36.4; 1.36.10;
split device/softc (tested with an@pcmcia)
 1.35  28-Apr-2008  martin branches: 1.35.2; 1.35.4;
Remove clause 3 and 4 from TNF licenses
 1.34  05-Apr-2008  cegger branches: 1.34.2; 1.34.4;
use aprint_*_dev and device_xname
 1.33  09-Dec-2007  jmcneill branches: 1.33.10;
Merge jmcneill-pm branch.
 1.32  19-Oct-2007  ad branches: 1.32.4; 1.32.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.31  16-Nov-2006  christos branches: 1.31.8; 1.31.22; 1.31.24; 1.31.28;
__unused removal on arguments; approved by core.
 1.30  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.29  24-Sep-2006  jmcneill Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.28  11-Dec-2005  christos branches: 1.28.20; 1.28.22;
merge ktrace-lwp.
 1.27  22-Jun-2005  dyoung branches: 1.27.2;
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.26  04-Feb-2005  perry de-__P
 1.25  10-Aug-2004  mycroft branches: 1.25.4; 1.25.6;
Update to the new world order.
 1.24  10-Aug-2004  mycroft Constify.
 1.23  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.22  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.21  09-Aug-2004  mycroft Fix the intr_establish/disestablish order here too.
 1.20  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.19  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.18  07-Jul-2004  mycroft More PCMCIA_STR_* elimination.
 1.17  28-Jan-2004  onoe Adopt to new 802.11 framework.
Add support of version 5.30.17 firmware of PCMCIA 350 series.
MPI350 mini-PCI is NOT YET supported.
MONITOR mode is still not yet working.
 1.16  13-Oct-2003  dyoung Switch an(4) to using the header files in the new 802.11 layer.
 1.15  20-Jan-2003  simonb branches: 1.15.2;
The Double-Semi-Colon Police.
 1.14  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.13  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.12  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11  13-Nov-2001  lukem add RCSIDs
 1.10  01-Jul-2001  thorpej branches: 1.10.2;
Remove unneeded include files. From Onno van der Linden.
 1.9  06-Apr-2001  onoe Add Cisco Aironet 350 Series.
XXX: work as same as 340 series.
do not use any 802.11e security enhancements yet..
 1.8  21-Dec-2000  onoe branches: 1.8.2;
use pcmcia_devinfo() to print product info.
 1.7  19-Dec-2000  onoe cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
(RID 0xff50 or 0xff68 access failed)
 1.6  19-Dec-2000  onoe I've inverted the logic of an_probe() in my previous commit to dev/ic/an.c
 1.5  14-Dec-2000  onoe Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
 1.4  12-Dec-2000  onoe branches: 1.4.2; 1.4.4;
add support(?) for PC4500 which is a 2Mbps product.
Though ifconfig -m no longer show 5Mbps/11Mbps for PC4500 by this fix,
I cannot find how to set fixed transmit speed to the firmware.
FreeBSD version of driver apparently ignore the value set by ancontrol(8).
 1.3  12-Dec-2000  onoe cleanup headers: remove duplicate definition, split reg.h/var.h.
 1.2  11-Dec-2000  onoe To fix panic at "ifconfig an0 down",
define ANCACHE in if_an_pcmcia.c (XXX)
try not to access registers after interface down.
 1.1  11-Dec-2000  onoe Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.
 1.4.4.4  21-Apr-2001  bouyer Sync with HEAD
 1.4.4.3  05-Jan-2001  bouyer Sync with HEAD
 1.4.4.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.4.4.1  12-Dec-2000  bouyer file if_an_pcmcia.c was added on branch thorpej_scsipi on 2000-12-13 15:50:10 +0000
 1.4.2.2  12-Dec-2000  he Pull up revisions 1.1-1.2 (new, requested by he):
Add a driver for an(4), Aironet and Cisco wireless pcmcia cards.
 1.4.2.1  12-Dec-2000  he file if_an_pcmcia.c was added on branch netbsd-1-5 on 2000-12-12 21:26:35 +0000
 1.8.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.8.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.8.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.8.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.10.2.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.10.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.2.5  04-Feb-2005  skrll Sync with HEAD.
 1.15.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.2  12-Aug-2004  skrll Sync with HEAD.
 1.15.2.1  03-Aug-2004  skrll Sync with HEAD
 1.25.6.1  12-Feb-2005  yamt sync with head.
 1.25.4.1  29-Apr-2005  kent sync with -current
 1.27.2.3  21-Jan-2008  yamt sync with head
 1.27.2.2  27-Oct-2007  yamt sync with head.
 1.27.2.1  30-Dec-2006  yamt sync with head.
 1.28.22.2  10-Dec-2006  yamt sync with head.
 1.28.22.1  22-Oct-2006  yamt sync with head
 1.28.20.1  18-Nov-2006  ad Sync with head.
 1.31.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.31.24.2  09-Jan-2008  matt sync with HEAD
 1.31.24.1  06-Nov-2007  matt sync with HEAD
 1.31.22.4  08-Dec-2007  jmcneill Rename pnp(9) -> pmf(9), as requested by many.
 1.31.22.3  06-Nov-2007  joerg Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
 1.31.22.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.31.22.1  04-Sep-2007  joerg Convert an(4) to new style power management.
 1.31.8.1  23-Oct-2007  ad Sync with head.
 1.32.6.1  11-Dec-2007  yamt sync with head.
 1.32.4.1  26-Dec-2007  ad Sync with head.
 1.33.10.2  28-Sep-2008  mjf Sync with HEAD.
 1.33.10.1  02-Jun-2008  mjf Sync with HEAD.
 1.34.4.4  16-Sep-2009  yamt sync with head
 1.34.4.3  16-May-2009  yamt sync with head
 1.34.4.2  04-May-2009  yamt sync with head.
 1.34.4.1  16-May-2008  yamt sync with head.
 1.34.2.1  18-May-2008  yamt sync with head.
 1.35.4.1  18-Jul-2008  simonb Sync with head.
 1.35.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.36.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.40.22.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.40.12.1  30-Oct-2012  yamt sync with head

RSS XML Feed