看板 DFBSD_commit 關於我們 聯絡資訊
commit 669fbbf7b5b168ecb7f843bff5909f6ccd9a8f91 Author: Matthew Dillon <dillon@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