AHCI - Fix PM probing issues, wait 10 seconds on physical port insertion
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Jun 2009 17:40:46 +0000 (10:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Jun 2009 17:40:46 +0000 (10:40 -0700)
commit1067474a12b26a343f24a3aae09f14cdaeb5bad4
tree95a7685313da1c35a4c0e6d70cc09709826171c0
parent121d8e7523a3950e723e37beec1a9c257f3c8d2f
AHCI - Fix PM probing issues, wait 10 seconds on physical port insertion

* The spec is not completely clear on the point but CCB[1] *MUST* be used
  as the second CCB in a softreset sequence.  If it isn't, the wrong
  signature may be loaded into the signature register.

* Wait 10 seconds on insertion of a physical port (we already wait 10 seconds
  on the insertion of a target behind a PM).

* Do not cycle the PHY when doing a hard reset, it seems to create
  detection problems.
sys/dev/disk/ahci/ahci.c
sys/dev/disk/ahci/ahci.h
sys/dev/disk/ahci/ahci_attach.c
sys/dev/disk/ahci/ahci_pm.c
sys/dev/disk/ahci/atascsi.h