From: Sergei Shtylyov Date: Thu, 1 Nov 2012 17:59:28 +0000 (+0300) Subject: sata_highbank: use ATA_BUSY X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=121650a55535e4a3f152a30ee42f26e815eff714;p=linux-beck.git 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 --- 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 {