DragonFly-2.3.1.173.g669f master sys/dev/disk/ahci ahci_cam.c atascsi.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jun 5 22:12:31 PDT 2009
commit 669fbbf7b5b168ecb7f843bff5909f6ccd9a8f91
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jun 5 22:11:38 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.
* Do not try to set the freeze lock if the security feature is not supported.
* 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_cam.c | 66 ++++++++++++++++++++++++++++++++---------
sys/dev/disk/ahci/atascsi.h | 1 +
2 files changed, 52 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/669fbbf7b5b168ecb7f843bff5909f6ccd9a8f91
--
DragonFly BSD source repository
More information about the Commits
mailing list