Skip to contentSkip to conversation

ata_piix: enable 32bit PIO on SATA piix

PATCH Applied Tejun Heo 2 participants 2 messages Jan 11, 2010 – Jan 12, 2010 libata

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 ata_piix: enable 32bit PIO on SATA piix

Commit 871af1210f13966ab911ed2166e4ab2ce775b99d enabled 32bit PIO for PATA piix but didn't for SATA. There's no reason not to use 32bit PIO on SATA piix. Enable it.

---
 drivers/ata/ata_piix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ata_piix.c +1 -1
Index: ata/drivers/ata/ata_piix.c
===================================================================
@@ -329,7 +329,7 @@ static struct ata_port_operations ich_pa
 };
 
 static struct ata_port_operations piix_sata_ops = {
-	.inherits		= &ata_bmdma_port_ops,
+	.inherits		= &ata_bmdma32_port_ops,
 };
 
 static struct ata_port_operations piix_sidpr_sata_ops = {
Applied
#1 lore raw
Quoted 15 lines · Tejun Heo

Commit 871af1210f13966ab911ed2166e4ab2ce775b99d enabled 32bit PIO for PATA piix but didn't for SATA. There's no reason not to use 32bit PIO on SATA piix. Enable it.

---
  drivers/ata/ata_piix.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Index: ata/drivers/ata/ata_piix.c
===================================================================

drivers/ata/ata_piix.c static struct ata_port_operations ich_pa · line 333

Quoted 6 lines
drivers/ata/ata_piix.c +1 -1
@@ -329,7 +329,7 @@ static struct ata_port_operations ich_pa
  };
 
  static struct ata_port_operations piix_sata_ops = {
-	.inherits		=&ata_bmdma_port_ops,
+	.inherits		=&ata_bmdma32_port_ops,
  };

applied