summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-10-14 08:50:05 +0000
committermav <mav@FreeBSD.org>2012-10-14 08:50:05 +0000
commitfdb8b5f8ba57cd70c49b68ea3595a7536d0f8d26 (patch)
tree51b8f7ba820d337f38d1aa6c6a0d184aa33209f5 /sys/dev/acpi_support
parent45a414ab75092affa85ae444be24bed429026ddc (diff)
downloadFreeBSD-src-fdb8b5f8ba57cd70c49b68ea3595a7536d0f8d26.zip
FreeBSD-src-fdb8b5f8ba57cd70c49b68ea3595a7536d0f8d26.tar.gz
Add explicit check for not set time inside cam_periph_freeze_after_event().
System time is set later on boot process then initial bus scan by CAM. Until that moment microtime() is equal to microuptime(), and if system boots quickly, the value can be close to zero. That causes settle time waiting even for buses that don't use reset during probe. On my test system this reduces boot time by 1 second if USB enabled, or by 4 seconds if USB disabled. CAM waited for ctl2cam0 bus "settle".
Diffstat (limited to 'sys/dev/acpi_support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud