projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9506437
)
[PATCH] ahci: stop engine during hard reset
author
Tejun Heo
<htejun@gmail.com>
Mon, 23 Jan 2006 07:31:53 +0000
(16:31 +0900)
committer
Jeff Garzik
<jgarzik@pobox.com>
Fri, 27 Jan 2006 04:07:08 +0000
(23:07 -0500)
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>
drivers/scsi/ahci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ahci.c
b/drivers/scsi/ahci.c
index 5a6b23009897083cc1c5b690666f051d34f0db47..2abc0aca5a8d90a191b84ec5c7d924c6e7acfc0b 100644
(file)
--- 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;
This page took
0.025239 seconds
and
5
git commands to generate.