freebsd-dev/sys/dev
Maksim Yevmenkin 8a03cf5c82 Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free()
are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following
WITNESS warning (produced when an(4) PCMCIA card is detached).

taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/sys/dev/an/if_an.c:2836

MFC after:	3 days
Silence from:	current@
2005-07-27 21:03:35 +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 Correct the order of some if tests so that we don't complain about being 2005-07-27 15:21:32 +00:00
adlink
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 Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() 2005-07-27 21:03:35 +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
ata Zero donecount on auto request sense. 2005-06-28 09:06:52 +00:00
ath o fix setup of sc_diversity; the hal does not give us reliable 2005-07-24 05:11:39 +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 diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use 2005-07-22 16:50:18 +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
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 Mark if_cnw as IFF_NEEDSGIANT, because it does. 2005-07-18 17:58:59 +00:00
cp Use m_length (m, NULL) instead of m->m_pkthdr.len. 2005-07-09 16:14:05 +00:00
cpufreq
cs Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
ct
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
dc Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
dcons
de - Use callout_*() rather than timeout() to periodically poll the media. 2005-07-27 13:51:01 +00:00
dec
digi
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 Add the latest r300 code from r300.sf.net. This is based on the patch supplied 2005-07-20 21:10:57 +00:00
ed Add support for the DLink DMF650TX Ethernet+56k modem PC Card. This 2005-07-15 01:54:59 +00:00
eisa
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 Spell destroy in a more traditional way 2005-07-19 22:26:44 +00:00
esp
ex Add real support for obtaining the silicom MAC address from the 2005-07-15 01:48:38 +00:00
exca
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 The Sony i.LINK CXD1947 device is a firewire bridge, but it doesn't 2005-07-17 19:59:07 +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 Remove NOP spl*() calls and add locking (making gem(4) MPSAFE). 2005-07-24 18:45:15 +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 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +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 Use LK_CANRECURSE since when a PMC-owning process performs an exec, 2005-07-17 04:18:06 +00:00
ic
ichsmb Make ichsmb(4) child device handling properly. 2005-06-10 16:12:43 +00:00
ichwd
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
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
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 simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's 2005-07-22 17:36:12 +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
iwi simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's 2005-07-22 17:36:12 +00:00
ixgb Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
joy
kbd kbdmux(4) keyboard multiplexer integration 2005-07-13 23:58:57 +00:00
kbdmux kbdmux(4) keyboard multiplexer integration 2005-07-14 22:43:20 +00:00
led
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
mem
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
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
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
nsp Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
null
nve Remove an erroneous m_freem() call. If m_defrag() returns a non-NULL 2005-07-25 22:21:11 +00:00
ofw
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 o Add Toshiba's id. Make AGERE an alias for LUCENT. Add Ungermann's ID. 2005-07-18 21:47:38 +00:00
pccbb o The ricoh bridge needs us to turn off the function interrupts for 2005-07-17 19:40:05 +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
pst
puc Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources 2005-06-04 20:29:28 +00:00
ral diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use 2005-07-22 16:50:18 +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
re Use correct pointer type. This should fix non-functional re(4) 2005-07-01 04:12:42 +00:00
rndtest
rp
sab Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resources 2005-06-04 20:29:28 +00:00
safe
sbni Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
sbsh Mark if_sbsh as IFF_NEEDSGIANT, because it does. 2005-07-18 18:19:50 +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
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
sn Better name for type 4 chips 2005-07-18 23:41:34 +00:00
snc Build on pc98. 2005-06-12 16:21:44 +00:00
snp
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
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
sx
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
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
usb diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use 2005-07-22 16:50:18 +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 kernel panic with vkbd(4). Initialize mutex properly (set name), or else 2005-07-21 16:19:08 +00:00
vr Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
vx Don't drop frames if interface is in promiscuous mode. 2005-07-22 11:27:07 +00:00
watchdog
wds
wi diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use 2005-07-22 16:50:18 +00:00
wl Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
xe Use the new cis scanning code to look for the proper MAC address. The 2005-07-15 06:46:04 +00:00
zs