git: kernel - Report AHCI rev programmatically

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 13 19:11:49 PST 2016


commit e20b81f066892752da2822a78792fa9c6597e182
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 13 19:10:40 2016 -0800

    kernel - Report AHCI rev programmatically
    
    * Remove the switch() and generate the AHCI rev from the register contents.
    
    * Fixes reporting of some AHCI chipsets as an unknown version of AHCI
      (Skylake reports AHCI 1.3.1, our switch only had 1.3.0).

Summary of changes:
 sys/dev/disk/ahci/ahci_attach.c | 35 ++++++++---------------------------
 1 file changed, 8 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e20b81f066892752da2822a78792fa9c6597e182


-- 
DragonFly BSD source repository


More information about the Commits mailing list