ahci: stop engine during hard reset
PATCH 1/1 ahci: stop engine during hard reset
AHCI spec mandates engine to be stopped during hard resets.
Signed-off-by Tejun Heo <[email protected]>
---
Jeff, saner version of stopping engine during AHCI hard reset.
drivers/scsi/ahci.c +2 -0
@@ -504,7 +504,9 @@ static void ahci_phy_reset(struct ata_postruct 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 ;
Jeff Garzik
AppliedQuoted 3 lines · Tejun Heo
AHCI spec mandates engine to be stopped during hard resets.
Signed-off-by Tejun Heo <[email protected]>
applied