From 121650a55535e4a3f152a30ee42f26e815eff714 Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Thu, 1 Nov 2012 20:59:28 +0300 Subject: [PATCH] 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 Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik --- drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {