Skip to contentSkip to conversation

16-bit operation of PATA_CS5536?

PATCH Krzysztof Halasa 1 participant 1 message Nov 8, 2009 libata

lore
Share & tools
lore
#0 lore raw

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.

drivers/ata/pata_cs5536.c +1 -1
@@ -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,