2009-11-08 20:05:04

by Krzysztof Halasa

[permalink] [raw]
Subject: 16-bit operation of PATA_CS5536?

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 <[email protected]>

--- 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,