diff options
author | jhb <jhb@FreeBSD.org> | 2012-04-11 20:57:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-04-11 20:57:41 +0000 |
commit | 294ae9574dbae2eb396badbd71d53759f665a50e (patch) | |
tree | 01fe2ebbcc44439ae8b4b463d26d707df4166b48 /sys/x86 | |
parent | 31bc0a8bff2a66718684b68012fa4be1ed30f522 (diff) | |
download | FreeBSD-src-294ae9574dbae2eb396badbd71d53759f665a50e.zip FreeBSD-src-294ae9574dbae2eb396badbd71d53759f665a50e.tar.gz |
Allow device_busy() and device_unbusy() to be invoked while a device is
being attached. This is implemented by adding a new DS_ATTACHING state
while a device's DEVICE_ATTACH() method is being invoked. A driver is
required to not fail an attach of a busy device. The device's state will
be promoted to DS_BUSY rather than DS_ACTIVE() if the device was marked
busy during DEVICE_ATTACH().
Reviewed by: kib
MFC after: 1 week
Diffstat (limited to 'sys/x86')
0 files changed, 0 insertions, 0 deletions