git: AHCI - Misc fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Dec 23 14:41:27 PST 2016


commit 31075e01cfd5393d6416e6fb3b1a4f8d91729529
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Dec 23 14:38:13 2016 -0800

    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.

Summary of changes:
 share/man/man4/ahci.4              | 80 +++++++++++++++++++++++++++++++++++++-
 sys/dev/disk/ahci/ahci.c           | 13 ++++---
 sys/dev/disk/ahci/ahci.h           |  2 +
 sys/dev/disk/ahci/ahci_attach.c    |  8 +++-
 sys/dev/disk/ahci/ahci_dragonfly.c | 15 ++++++-
 5 files changed, 107 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31075e01cfd5393d6416e6fb3b1a4f8d91729529


-- 
DragonFly BSD source repository


More information about the Commits mailing list