IXP4xx repetitive 16-bit/32-bit I/O macros/inlines.
Krzysztof Halasa
khc at pm.waw.pl
Sun Nov 8 16:07:41 EST 2009
Karl Hiramoto <karl at hiramoto.org> 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
More information about the linux-arm-kernel
mailing list