git: kernel - Add AHCI workaround for Intel mobo / Intel SSD probing bug
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jun 16 19:51:08 PDT 2011
commit f2dba7003b2add226b3999a41a99fd278cc5a26f
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list