AHCI - Misc fixes
commit31075e01cfd5393d6416e6fb3b1a4f8d91729529
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 23 Dec 2016 22:38:13 +0000 (23 14:38 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 23 Dec 2016 22:38:13 +0000 (23 14:38 -0800)
treec5a9ca88757f656eb7328933a9eb4b2449ad669c
parentcdab4658c559e8c0c07a12f9768c8354b433c82a
AHCI - Misc fixes

* Reduce chip reset time from 500ms to 250ms to speed up booting on
  machines with multiple AHCI controllers.

* Fix a bug in a piece of the error recovery code that was waiting
  forever.

* Implement the hw.ahci.synchronous_boot TUNABLE.  Setting this variable
  to 0 in loader.conf causes the ahci device probe to be fully asynchronous
  during booting.  This is HIGHLY experimental and not recommended on
  systems with only one controller as the kernel may boot too quickly for
  the boot drive to probe before the kernel gets to init.

* Do a pass on the ahci.4 manual page.
share/man/man4/ahci.4
sys/dev/disk/ahci/ahci.c
sys/dev/disk/ahci/ahci.h
sys/dev/disk/ahci/ahci_attach.c
sys/dev/disk/ahci/ahci_dragonfly.c