DragonFly-2.3.1.173.g669f master sys/dev/disk/ahci ahci_cam.c at

看板DFBSD_commit作者時間16年前 (2009/06/06 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AAVzO00 (DFBSD_commit)