NetBSD/sys/dev/cardbus
mrg 856324edf9 convert cardslot event thread from wakeup/tsleep to mutex/condvar.
this avoids a strange hang at reboot i am seeing on an old pentium4-m
laptop, that was introduced with kern_mutex.c 1.91/92, though i can
not really explain why that matters (in the waiting thread, a pointer
that should be NULL remains non NULL.)  thanks to jmcneill@ for some
helpful review commentary here.

don't panic() if either "cardbus" or "pcmcia" didn't attach and a
card is inserted.  this can happen for various reasons, including
some regression in netbsd (-current, and -9, at least) that suggests
using PCI_BUS_FIXUP (though it still fails to attach the card i have.)

both found with GCC 10 testing, though both also occur with GCC 7 in
the netbsd-9 tree as well.
2021-04-17 01:19:48 +00:00
..
adv_cardbus.c
ahc_cardbus.c in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT 2019-11-10 21:16:21 +00:00
cardbus.c pmf-powerdown == false --> pmf-no-powerdown == true 2020-06-12 15:34:20 +00:00
cardbus_exrom.c in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT 2019-11-10 21:16:21 +00:00
cardbus_exrom.h
cardbus_map.c
cardbusreg.h
cardbusvar.h
cardslot.c convert cardslot event thread from wakeup/tsleep to mutex/condvar. 2021-04-17 01:19:48 +00:00
cardslotvar.h convert cardslot event thread from wakeup/tsleep to mutex/condvar. 2021-04-17 01:19:48 +00:00
com_cardbus.c
ehci_cardbus.c
files.cardbus add cardbus attachment for malo(4), from OpenBSD 2018-12-14 21:49:22 +00:00
fwohci_cardbus.c
if_ath_cardbus.c
if_athn_cardbus.c
if_atw_cardbus.c
if_bwi_cardbus.c
if_ex_cardbus.c
if_fxp_cardbus.c
if_malo_cardbus.c add cardbus attachment for malo(4), from OpenBSD 2018-12-14 21:49:22 +00:00
if_ral_cardbus.c
if_re_cardbus.c
if_rtk_cardbus.c
if_rtw_cardbus.c
if_tlp_cardbus.c
njata_cardbus.c
njs_cardbus.c
ohci_cardbus.c
rbus.c
rbus.h
rbus_ppb.c Catch up with MI pci changes to fix compile error. 2019-03-05 08:16:53 +00:00
sdhc_cardbus.c in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT 2019-11-10 21:16:21 +00:00
siisata_cardbus.c
uhci_cardbus.c
usb_cardbus.h