sata_highbank: use ATA_BUSY
PATCH 1/1 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>
---
The patch is atop of the 'upstream' branch of libata-dev.git...
drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/sata_highbank.c +1 -1
@@ -213,7 +213,7 @@ static int ahci_highbank_hardreset(struc/* 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 {
Hello.
Quoted 16 lines · Sergei Shtylyov
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 <[email protected]>---
The patch is atop of the 'upstream' branch of libata-dev.git...drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
libata-dev/drivers/ata/sata_highbank.c
===================================================================
drivers/ata/sata_highbank.c static int ahci_highbank_hardreset(struc · line 219
Quoted 8 lines
drivers/ata/sata_highbank.c +1
-1@@ -213,7 +213,7 @@ static int ahci_highbank_hardreset(struc/* 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 {
Jeff, are you going to queue this one and earlier patches from me?
MBR, Sergei
Quoted 27 lines · Sergei Shtylyov
Hello.
Quoted 23 lines · Sergei Shtylyov
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 <[email protected]>---
The patch is atop of the 'upstream' branch of libata-dev.git...drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
libata-dev/drivers/ata/sata_highbank.c
===================================================================drivers/ata/sata_highbank.c +1
-1@@ -213,7 +213,7 @@ static int ahci_highbank_hardreset(struc/* 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);
Quoted 3 lines
drivers/ata/sata_highbank.c static int ahci_highbank_hardreset(struc · line 219
Quoted 1 line
drivers/ata/sata_highbank.c +0
-0do {Jeff, are you going to queue this one and earlier patches from me?
Yep, should be queued in next 24-48 hours with a bunch of other stuff.
Wanted to get #upstream-fixes upstream and settled first.
Jeff
Jeff Garzik
AppliedQuoted 10 lines · Sergei Shtylyov
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 <[email protected]>---
The patch is atop of the 'upstream' branch of libata-dev.git...drivers/ata/sata_highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied