DragonFly-2.3.1.223.g131be master sys/dev/disk/ahci ahci.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 11 01:32:58 PDT 2009


commit 131be2106fe20ed683ee31266ba4850bf3394735
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 11 01:30:38 2009 -0700

    AHCI - Try to salvage port on PM target failure.
    
    * If a PM target times out disable it, but try to salvage the rest of
      the port so other PM targets continue to operate.  We do this by
      stopping the port, issuing a CLO, and then restarting it to clear
      the BSY condition, then re-issue whatever commands might have been
      active (probably none if this is a PM since we are restricted to
      one command at a time).

Summary of changes:
 sys/dev/disk/ahci/ahci.c |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/131be2106fe20ed683ee31266ba4850bf3394735


-- 
DragonFly BSD source repository





More information about the Commits mailing list