16-bit operation of PATA_CS5536?

Message ID m33a4obx5a.fsf@intrepid.localdomain
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Krzysztof Halasa Nov. 8, 2009, 8:05 p.m.
I wonder why isn't the PATA CS5536 driver using 32-bit ops.

Does the following make any sense?
It seems to work on my IXP425-based router.

Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl>

To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--- a/drivers/ata/pata_cs5536.c
+++ b/drivers/ata/pata_cs5536.c
@@ -232,7 +232,7 @@  static struct scsi_host_template cs5536_sht = {
 static struct ata_port_operations cs5536_port_ops = {
-	.inherits		= &ata_bmdma_port_ops,
+	.inherits		= &ata_bmdma32_port_ops,
 	.cable_detect		= cs5536_cable_detect,
 	.set_piomode		= cs5536_set_piomode,
 	.set_dmamode		= cs5536_set_dmamode,