freebsd-nq/sys/dev/fdc
Warner Losh e2c1243f42 fd: Move from using device_busy to a refcount
Use refcounting to delay the detach rather than device_busy and/or
device_unbusy. fd/fdc is one of the few consumers of device_busy in the
tree for that, and it's not a good fit. Also, nothing is waking 'fd' and
other drivers don't loop like this. Return EBUSY if we still have active
users.

Sponsored by:		Netflix
Reviewed by:		mav
Differential Revision:	https://reviews.freebsd.org/D31830
2021-09-29 20:18:28 -06:00
..
fdc_acpi.c
fdc_isa.c
fdc.c fd: Move from using device_busy to a refcount 2021-09-29 20:18:28 -06:00
fdcvar.h