freebsd-src/sys/dev
Warner Losh fd4e475233 Omnibus power and interrupt fixes:
o Don't busy wait on powerup.  Instead, use the power up interrupt to wait
  for the card to power up.  Don't wait when we're turning the card off,
  since no interrupt happens in that case.
o Convert many of the long DELAYs to tsleeps.  We do not run before
  the timer have stared, so DELAY isn't necessary.  More DELAYs can likely
  be eliminated in the future.
o When powering up the card, don't do anything if the card is already
  powered up (before we'd power cycle it).  This means that for most
  cards we power them up once and then never change the power.
o On card eject, mask (by clearing) the CD bit.  Before we set it, which
  was wrong.  We don't want to see any CD events past the first one since
  they need to be debounced.

With these changes, I can insert/eject 16bit cards without glitching xmms'
sound output.  Something very important to the development of better pccard
drivers :-)
2005-07-14 20:46:59 +00:00
..
aac Check the vendor and device, not subvendor and subdevice, when looking for 2005-07-14 17:43:00 +00:00
acpi_support Add the ID of my Thinkpad R40. Makes the module detect and with the 2005-06-17 17:10:16 +00:00
acpica Add a quirk for a motherboard whose acpi timer runs too fast. 2005-06-26 18:19:14 +00:00
adlink Instead of a rather useless generation number, use a sample number to 2005-03-19 12:55:46 +00:00
advansys Don't try to probe ISA PnP devices for now until this driver can grow a 2005-07-13 15:44:53 +00:00
agp Make the initialization in the AGPv3 case match that of Linux. Fixes hangs on 2005-06-26 04:01:11 +00:00
aha Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ahb Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
aic Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
aic7xxx Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
amd Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
amr polled commands can read or write, so bus_dmamap_sync properly 2005-06-23 00:21:25 +00:00
an Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
ar Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
arcmsr Use same RID we allocated the resource with to free it 2005-06-05 23:05:26 +00:00
arl Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
asr Only create the rdpti alias if the asr device creation succeeds. 2005-04-29 04:47:11 +00:00
ata Zero donecount on auto request sense. 2005-06-28 09:06:52 +00:00
ath only invoke ath_rate_tx_complete to update rate control state when the 2005-07-07 00:04:50 +00:00
atkbdc - Hook up the new locations of the atkbdc(4), atkbd(4) and psm(4) source 2005-06-10 20:56:38 +00:00
auxio Switch from trying to allocate up to 8 register banks for the EBus 2005-07-10 10:33:00 +00:00
awi Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
bfe Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
bge Backout the change I made before 5.4-R since I wasn't aware that it was only 2005-06-24 21:43:47 +00:00
bktr Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
buslogic Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
cardbus Use STAILQ in preference to SLIST for the resources. Insert new resources 2005-03-18 05:19:50 +00:00
ciss Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
cm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
cnw Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
cp Use m_length (m, NULL) instead of m->m_pkthdr.len. 2005-07-09 16:14:05 +00:00
cpufreq Only activate ICH speedstep if we're going to use it. No bugs were observed 2005-03-20 01:25:21 +00:00
cs Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
ct Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
ctau Use m_length (m, NULL) instead of m->m_pkthdr.len. 2005-07-09 16:14:05 +00:00
cx Use m_length (m, NULL) instead of m->m_pkthdr.len. 2005-07-09 16:14:05 +00:00
cy Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 18:30:12 +00:00
dc Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
dcons Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
de Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
dec Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
digi Staticize some symbols that are each only used in one corresponding .c file. 2005-05-06 20:53:34 +00:00
dpt Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
drm Disable the drm_initmap calls in radeon_cp.c, due to them resulting in improper 2005-06-28 21:38:08 +00:00
ed Add a boatload of new device ids, gleaned from the pcmcia-cs-3.2.8 2005-07-10 02:00:35 +00:00
eisa Now that the Adaptec 2842 has its own probe routine, no need to have 2005-03-17 17:36:07 +00:00
em Correct a minor typo. 2005-07-11 02:33:25 +00:00
en Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ep Nits 2005-07-13 14:54:40 +00:00
esp - Try to not leak resources in the attach functions of the esp(4) SBus 2005-05-19 14:51:10 +00:00
ex Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
exca Properly calculate the offset in mapping the memory of pccards. This 2005-01-11 00:32:43 +00:00
fatm Fix another fallout from the ifnet change that assumed that a softc 2005-07-01 10:45:02 +00:00
fb - Declare lookup tables etc. const. [1] 2005-07-10 11:43:20 +00:00
fdc Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
fe Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
firewire Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
fxp Move if_alloc() up in fxp_attach() so there's an ifp before 2005-06-11 00:47:34 +00:00
gem Stop the interface before detaching and freeing it, rather than after. 2005-06-12 15:33:45 +00:00
gfb Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
harp Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
hatm Fix another fallout from the ifnet change that assumed that a softc 2005-07-01 10:45:02 +00:00
hfa Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
hifn These registers are saved by pci bus code. Remove from #if 0'd code anyway 2005-06-05 22:57:32 +00:00
hme Add a missing mtx_destroy() in hme_pci_detach(). 2005-07-10 10:36:45 +00:00
hptmv Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
hwpmc Fix breakage introduced in rev 1.7. 2005-07-14 15:09:14 +00:00
ic cosmetic change. 2005-05-14 10:26:31 +00:00
ichsmb Make ichsmb(4) child device handling properly. 2005-06-10 16:12:43 +00:00
ichwd Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ida Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
idt Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ie Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ieee488 Don't leak mutex on open failure. 2005-04-04 17:37:35 +00:00
if_ndis Move if_alloc() higher in the attach function so sc->ifp is populated 2005-06-14 17:47:31 +00:00
iicbus Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
iir Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
io Add module versions. 2004-08-02 20:42:28 +00:00
ips Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ipw fix allocation of rx dma buffers. buffers must be contiguous. 2005-07-08 19:30:29 +00:00
isp Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ispfw Roll firmware to the latest version. There are a bunch of features 2005-01-29 01:12:37 +00:00
iwi remove driver-private key allocators; use the default one instead 2005-07-10 00:17:05 +00:00
ixgb Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
joy Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
kbd kbdmux(4) keyboard multiplexer integration 2005-07-13 23:58:57 +00:00
kbdmux kbdmux(4) keyboard multiplexer integration 2005-07-14 17:48:04 +00:00
led Add placeholder mutex argument to new_unrhdr(). 2005-03-07 11:05:47 +00:00
lge Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
lnc Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
mc146818 After some input from bde@ and rereading the datasheet use a MTX_SPIN 2005-06-04 23:24:50 +00:00
mca
mcd Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
md Request a CPU private mapping from sf_buf_alloc(). If the swap-backed 2005-02-13 21:51:50 +00:00
mem Fix module builds for i386 and amd64. 2004-08-04 18:30:31 +00:00
mii Add an evil hack to work around a cast from the softc to the ifnet that 2005-06-11 00:20:38 +00:00
mk48txx - Add locking. 2005-05-19 21:16:50 +00:00
mlx Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
mly Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
mpt Massive overhaul of MPT Fusion driver: 2005-07-10 15:05:39 +00:00
mse Minor style(9) changes 2005-04-08 05:22:58 +00:00
my Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ncv Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
nge Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
nmdm Explicitly hold a reference to the cdev we have just cloned. This 2005-03-31 12:19:44 +00:00
nsp Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
null Use dynamic major number allocation. 2005-02-27 22:01:09 +00:00
nve Move if_alloc() up so it's before mii_phy_probe(). 2005-06-11 01:37:46 +00:00
ofw Sync with openfirm(4) and check the return value of malloc() although 2005-05-19 15:23:17 +00:00
owi Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
patm Fix another fallout from the ifnet change that assumed that a softc 2005-07-01 10:45:02 +00:00
pbio Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
pccard Also provide the function type in the nomatch routine. 2005-07-14 20:40:42 +00:00
pccbb Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00
pcf Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources 2005-06-04 20:29:28 +00:00
pci As threatened by BURN_BRIDGES, restire PCIR_MAPS and PCIR_HEADERTYPE 2005-06-05 23:08:59 +00:00
pdq Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ppbus Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ppc don't use C keyword register as CPP macro argument name 2005-04-12 23:32:26 +00:00
pst Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 18:10:49 +00:00
puc Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources 2005-06-04 20:29:28 +00:00
ral remove local mods that snuck into rev 1.6 2005-07-10 22:25:44 +00:00
random malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
ray Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
rc Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
re Use correct pointer type. This should fix non-functional re(4) 2005-07-01 04:12:42 +00:00
rndtest Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
rp - Use pci_get_device() and pci_get_vendor() when we only want one part 2005-03-25 03:10:51 +00:00
sab Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources 2005-06-04 20:29:28 +00:00
safe Use BUS_PROBE_DEFAULT in preference to 0 and BUS_PROBE_LOW_PRIORITY in 2005-03-01 08:58:06 +00:00
sbni Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
sbsh Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
scd Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
sf Move if_alloc() up so it's before mii_phy_probe(). 2005-06-11 01:37:46 +00:00
si Use BUS_PROBE_DEFAULT in preference to 0 and BUS_PROBE_LOW_PRIORITY in 2005-03-01 08:58:06 +00:00
sio Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
sk Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
smbus Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
sn Comment out a few entries in the sn_pccard_products table until 2005-07-13 14:52:48 +00:00
snc Build on pc98. 2005-06-12 16:21:44 +00:00
snp Explicitly hold a reference to the cdev we have just cloned. This 2005-03-31 12:19:44 +00:00
sound Don't attach the non-PnP mss pcm(4) driver to acpi busses as ACPI only 2005-07-13 15:17:54 +00:00
speaker - Move timerreg.h to <arch>/include and split i8253 specific defines into 2005-05-14 09:10:02 +00:00
sr Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
stg Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
streams Use kern_open() directly rather than a stackgap detour via open(). 2005-02-07 18:22:20 +00:00
sx Use BUS_PROBE_DEFAULT in preference to 0 and BUS_PROBE_LOW_PRIORITY in 2005-03-01 08:58:06 +00:00
sym Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
syscons kbdmux(4) keyboard multiplexer integration 2005-07-13 23:58:57 +00:00
tdfx Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, return 2005-03-01 07:50:12 +00:00
tga Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
ti Fix ifnet fallout in if_ti. 2005-07-07 01:05:45 +00:00
trm Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
twa Acquire Giant before making some CAM calls that need Giant to be held. 2005-06-11 00:14:23 +00:00
twe Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 2005-05-29 04:42:30 +00:00
tx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
txp Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
uart Some chipset drivers redefine the busspace_isa_{io|mem} tags. This 2005-06-16 18:06:38 +00:00
ubsec Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, return 2005-03-01 07:50:12 +00:00
usb Add SL811 based host controller driver for CF usb host controller. 2005-07-14 15:57:01 +00:00
utopia Struct ifatm isn't at the beginning of the softc anymore. Use the 2005-06-22 06:51:52 +00:00
vge Move if_alloc() up so it's before mii_phy_probe(). 2005-06-11 01:37:46 +00:00
vkbd Fix yet another cut-and-paste bug. 2005-05-20 23:29:55 +00:00
vr Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
vx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
watchdog Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
wds Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
wi Add a boatload of new device ids, gleaned from the pcmcia-cs-3.2.8 2005-07-10 02:00:35 +00:00
wl Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
xe Stop using OLDCARD shims. rename xe_pccard_match to xe_pccard_probe 2005-07-13 14:57:36 +00:00
zs The zs(4) driver is superseded by uart(4) and broken in -CURRENT. Remove 2005-02-27 15:23:58 +00:00