projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c26dea
)
sata_highbank: use ATA_BUSY
author
Sergei Shtylyov
<sshtylyov@ru.mvista.com>
Thu, 1 Nov 2012 17:59:28 +0000
(20:59 +0300)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 28 Nov 2012 17:39:49 +0000
(12:39 -0500)
ahci_highbank_hardreset() uses bare number for the BSY bit of the ATA status
register, despite it is #define'd in <linux/ata.h>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_highbank.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_highbank.c
b/drivers/ata/sata_highbank.c
index
400bf1c
..
75c0f3c
100644
(file)
--- a/
drivers/ata/sata_highbank.c
+++ b/
drivers/ata/sata_highbank.c
@@
-213,7
+213,7
@@
static int ahci_highbank_hardreset(struct ata_link *link, unsigned int *class,
/* clear D2H reception area to properly wait for D2H FIS */
ata_tf_init(link->device, &tf);
- tf.command =
0x80
;
+ tf.command =
ATA_BUSY
;
ata_tf_to_fis(&tf, 0, 0, d2h_fis);
do {