AHCI - Try to salvage port on PM target failure.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Jun 2009 08:30:38 +0000 (01:30 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Jun 2009 08:30:38 +0000 (01:30 -0700)
commit131be2106fe20ed683ee31266ba4850bf3394735
treec5df0b0b23dd717cb601b5b25f14b7f5e6a86a7f
parent8bf6a3ffff3f591ca1c66a0a44d51c5535c5cb1b
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).
sys/dev/disk/ahci/ahci.c