AHCI - Bring fixes in from SILI.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 06:54:54 +0000 (23:54 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 06:54:54 +0000 (23:54 -0700)
commit76497a9ca961bb47b7480c32c0ba3cd0dcebcce3
tree0269c51a8c87ab9232f84c557786eba1d3cae3e1
parent1ac8d5baa9028110f505772c43819d61b841061c
AHCI - Bring fixes in from SILI.

* Use ahci_os_softsleep() more

* Clean out active and pending CCBs when a port is disconnected, fixing
  hangs of programs that were accessing the disks at the time.

* Clear ap_expired bitmap when completing a CCB.

* Fix max_target specification so CAM bus scans only run through 15.

* Lock port around ATAPI command
sys/dev/disk/ahci/ahci.c
sys/dev/disk/ahci/ahci_cam.c
sys/dev/disk/ahci/ahci_pm.c