1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/dev/an
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
..
if_aironet_ieee.h
if_an_isa.c
if_an_pccard.c Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
if_an_pci.c Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 19:06:12 +00:00
if_an.c Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() 2005-07-27 21:03:35 +00:00
if_anreg.h Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00