diff options
author | Tejun Heo <htejun@gmail.com> | 2006-01-23 16:31:53 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-26 23:07:08 -0500 |
commit | e0bfd149973d22a4330dd6665b54d1dcca07174a (patch) | |
tree | b3c2fc9e3bc9a1ed4a3d677710c426e5a300105e /drivers/scsi/ahci.c | |
parent | 9506437921504df18c6601f7d09bb23d72d2f6ba (diff) |
[PATCH] ahci: stop engine during hard reset
AHCI spec mandates engine to be stopped during hard resets.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 5a6b23009897..2abc0aca5a8d 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c @@ -504,7 +504,9 @@ static void ahci_phy_reset(struct ata_port *ap) struct ata_device *dev = &ap->device[0]; u32 new_tmp, tmp; + ahci_stop_engine(ap); __sata_phy_reset(ap); + ahci_start_engine(ap); if (ap->flags & ATA_FLAG_PORT_DISABLED) return; |