DragonFly BSD
DragonFly commits List (threaded) for 2011-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Jun 2011 19:49:33 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]