DragonFly-2.3.1.186.g5f8c1 master sys/dev/disk/ahci ahci.c

看板DFBSD_commit作者時間16年前 (2009/06/08 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5f8c1efd092f1039f63ce166e87fce744882a390 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Jun 7 12:36:35 2009 -0700 AHCI - properly initialize ccb_xa.flags in softreset, make poll code robust * The softreset code did not properly initialize ccb_xa.flags, causing the softreset FIS's to sometimes get queued as an NCQ command instead of as a non-NCQ command. * Make ahci_poll() a bit more robust. Properly set ccb_xa.state on timeout, check for unexpected completions, and check to see if the ccb was put on a queue (though the latter should never happen since active/sactive is cleared by ahci_get_err_ccb()). Summary of changes: sys/dev/disk/ahci/ahci.c | 67 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 53 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f8c1efd092f1039f63ce166e87fce744882a390 -- DragonFly BSD source repository
文章代碼(AID): #1AB1o300 (DFBSD_commit)