DragonFly-2.3.1.312.g12feb master sys/dev/disk/ahci ahci.c ahci.

看板DFBSD_commit作者時間16年前 (2009/06/19 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 12feb9045df619d387b9ba31534687037610fe73 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jun 18 23:49:07 2009 -0700 AHCI - Intel fixes, error processing fixes. * Allocate separate scratch space to enforce a reasonable alignment for the READ LOG page. * Fix numerous issues with READ LOG / NCQ error processing. READ LOG wasn't working at all before. * Intel fixes. Move the SDBE interrupt from the AsyncNotify-only code to the general code. Intel parts seem to use this interrupt (and not DPE) to signal completion for NCQ commands, so we get timeouts if we don't use it generally. * Rearrange a great deal of code in a manner similar to how the Sili driver was arranged. Primarily: ATA_F_AUTOSENSE to acquire D2H rfis's more reliably, and ATA_F_EXCLUSIVE. More work needs to be done. Also move the PM probe code to the PM source module. * Add code to deal with D2H ERR fises. These generate a DHRS interrupt but only those which post an ERR in the task file stop command processing. This is not well documented in the AHCI specs. Summary of changes: sys/dev/disk/ahci/ahci.c | 1223 +++++++++++++++--------------------- sys/dev/disk/ahci/ahci.h | 30 +- sys/dev/disk/ahci/ahci_attach.c | 17 + sys/dev/disk/ahci/ahci_cam.c | 16 +- sys/dev/disk/ahci/ahci_dragonfly.c | 2 +- sys/dev/disk/ahci/ahci_pm.c | 249 +++++++- sys/dev/disk/ahci/atascsi.h | 4 + 7 files changed, 809 insertions(+), 732 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12feb9045df619d387b9ba31534687037610fe73 -- DragonFly BSD source repository
文章代碼(AID): #1AEpxw00 (DFBSD_commit)