浏览代码

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.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Tejun Heo 15 年之前
父节点
当前提交
0b67c7439f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ata/ata_piix.c

+ 1 - 1
drivers/ata/ata_piix.c

@@ -329,7 +329,7 @@ static struct ata_port_operations ich_pata_ops = {
 };
 };
 
 
 static struct ata_port_operations piix_sata_ops = {
 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 = {
 static struct ata_port_operations piix_sidpr_sata_ops = {