diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2012-11-01 18:59:28 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-11-28 18:39:49 +0100 |
commit | 121650a55535e4a3f152a30ee42f26e815eff714 (patch) | |
tree | c6ba55b8e7df0aacd40e4b9559d9e8572048b4be /drivers/ata/sata_highbank.c | |
parent | sata_sx4: pdc20621_{ata|host}_sg() do not need 'tf' parameter (diff) | |
download | linux-121650a55535e4a3f152a30ee42f26e815eff714.tar.xz linux-121650a55535e4a3f152a30ee42f26e815eff714.zip |
sata_highbank: use ATA_BUSY
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>
Diffstat (limited to 'drivers/ata/sata_highbank.c')
-rw-r--r-- | drivers/ata/sata_highbank.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c index 400bf1c3e982..75c0f3cc4a8a 100644 --- 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 { |