Re: IXP4xx repetitive 16-bit/32-bit I/O macros/inlines.

From: Krzysztof Halasa
Date: Sun Nov 08 2009 - 16:07:54 EST


Karl Hiramoto <karl@xxxxxxxxxxxx> writes:

>> Anybody using 32-bit PATA/SATA transfers on IXP4xx? :-)

> Yes, on HPT371 IDE chip on the PCI bus to interface to compact flash
> to store logs.

$ grep inherits drivers/ata/pata_hpt37x.c
.inherits = &ata_bmdma_port_ops,
.inherits = &hpt370_port_ops,
.inherits = &ata_bmdma_port_ops,
.inherits = &hpt372_port_ops,

Looks like 16-bit port_ops.

> For what it's worth I've only ever been able to make
> PIO work, I've never had any luck with the IDE DMA modes. It hasn't
> been a high enough priority to investigate further.

Interesting. I have no issues with DMA modes, with VIA VT6421A (this
chip seems to have other critical problems), with CS5536 (PATA) and with
SIL3512 (the patch has to be applied in big-endian mode, and another
patch to sata_sil.c must be applied because IXP4xx can't do 8/16-bit
PCI MMIO read).
--
Krzysztof Halasa
--
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/