Prevent a process from entering wpi_ioctl while another process is
authorkettenis <kettenis@openbsd.org>
Thu, 22 Jul 2010 10:22:37 +0000 (10:22 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 22 Jul 2010 10:22:37 +0000 (10:22 +0000)
commit49109f68fe2b58e0d700eeb9f1cb6c1f9521e6d4
tree2190e675dd34c4360cbb9f8442300acf6b31f061
parent0eba393b82cb59825accdb1314409a6bdc1e31fc
Prevent a process from entering wpi_ioctl while another process is
tsleep'ing (for example waiting for the firmware to become alive)
in iwn_init.

ok damien@
sys/dev/pci/if_wpi.c
sys/dev/pci/if_wpivar.h