DragonFly-2.3.1.172.g44441 master sys/dev/disk/ahci ahci.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 5 22:02:45 PDT 2009


commit 4444122d5f4134b877d299c50b1105c0d15fd3d6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jun 5 21:57:19 2009 -0700

    AHCI - Add conditional logic for wcache and rahead, enhanced reporting, fixes
    
    * Do not enable the write cache if the ident info says it is already enabled.
    
    * Do not enable read-ahead if the ident info says it is already enabled.
    
    * Enhanced error reporting.
    
    * Report wcache and rahead state in the Ident.
    
    NOTE: "WD My Book" ESATA consumer devices generate a fatal interface error
          when presented with ATA_C_SET_FEATURES.  The above code will quietly
          work around the problem.  The bug is likely in the My Book daughter
          board.

Summary of changes:
 sys/dev/disk/ahci/ahci.c |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4444122d5f4134b877d299c50b1105c0d15fd3d6


-- 
DragonFly BSD source repository





More information about the Commits mailing list