16-bit operation of PATA_CS5536?

From: Krzysztof Halasa
Date: Sun Nov 08 2009 - 15:05:17 EST


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@xxxxxxxxx>

--- 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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/