[PATCH] ahci: update ahci-vt8251 reset sequence
authorTejun Heo <htejun@gmail.com>
Wed, 1 Nov 2006 09:00:24 +0000 (18:00 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:41:30 +0000 (22:41 -0500)
commitad616ffbda8caf3ce76d2b43027e789d732abf48
treebcfccbde197833dd4062564793e8a17ff45837cc
parentb6103f6d1659e2024776bc759d28613fb36344a8
[PATCH] ahci: update ahci-vt8251 reset sequence

ahci-vt8251

* requires hardreset after PHY status change

* doesn't clear BSY on signature FIS after hardreset

* needs SError cleared for the port to operate after hardreset

This patch implements ahci_vt8251_hardreset() and sets
ATA_FLAG_HRST_TO_RESUME to handle the above behaviors.  This fixes EH
including hotplug on vt8251.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c