git: kernel - Add AHCI workaround for Intel mobo / Intel SSD pro

看板DFBSD_commit作者時間14年前 (2011/06/17 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f2dba7003b2add226b3999a41a99fd278cc5a26f Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jun 16 19:45:48 2011 -0700 kernel - Add AHCI workaround for Intel mobo / Intel SSD probing bug * On cold boot Intel SSDs for some reason seem to fail to initialize on the first attempt. The AHCI port winds up getting stuck in BSY mode. Adjusting timeouts fails to solve the problem. Ignoring the BSY state does solve the problem but is undesireable. * Retry the initialization sequence once if a stuck BSY is detected as a workaround. This appears to properly detect the SSD on the second attempt. * Add a delay after clearing the power control state before starting the COMINIT sequence. This solves no known issues but is probably a good idea. Summary of changes: sys/dev/disk/ahci/ahci.c | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2dba7003b2add226b3999a41a99fd278cc5a26f -- DragonFly BSD source repository
文章代碼(AID): #1D-iDoRn (DFBSD_commit)