[parisc-linux] C3000 and Promise Ultra100 TX2 PCI Controller

Grant Grundler grundler at parisc-linux.org
Sat Feb 28 12:48:08 MST 2004


On Sat, Feb 28, 2004 at 05:41:49PM +0000, Matthew Wilcox wrote:
> > Uhoh..no swapping at all in this case.
> > I was expecting readw to swap bytes.
> > Am I just confused again about how a BE is supposed to behave?
> > *sigh*
> 
> You're confused by looking at the unused definition ;-)

Worse - I was confused by looking at linux-2.6/asm/io.h my laptop. :^(
/me hides

> #define readw(addr) le16_to_cpu(__raw_readw(addr))

yes - so I went on a very short goose chase.
ide_insw_mm stuff should be fine too.

thanks,
grant


More information about the parisc-linux mailing list