Can we block in USB_ATTACH context ?
Sebastien B
sebastien.b at swissinfo.org
Sun Mar 20 06:13:53 PST 2005
Hello,
Can I call functions that will block (ie. waiting for condition variables,
acquiring MTX_DEF mutexes, ...) inside the USB_ATTACH section of a driver ?
Or should I use a software interrupt handler that will perform the
initialization of my USB device instead of doing this directly in
USB_ATTACH ? (Lots of transfers have to be made before the device is ready...
setting up the NET2280 PCI bridge, uploading a ~30kbyte firmware, reading
configuration options of the device...)
Thanks,
Sebastien
More information about the freebsd-usb
mailing list