[parisc-linux] IBM TR patch

Matthew Wilcox willy@debian.org
Tue, 15 Jan 2002 18:18:41 +0000


On Tue, Jan 15, 2002 at 10:11:58AM -0800, Randolph Chung wrote:
> > Additionally, i added a switch to turn off IPv4 summing. This might be 
> > needed for IPv6 and is absolutely necessary on HP PARISC platform with the 
> > current broken ioremap implementation. The IPv4 summing is the only place 
> > in the driver that accesses memory directly without the readX or 
> > memcpy_fromio macros.
> 
> How is ioremap broken? (Just curious). From what I understand ioremap is
> currently a nop in the parisc-linux vm/io design.

it's not broken, the assumptions in ibmtr are.  after you've ioremapped
a region, you can call readb/writeb on it.  ibmtr assumes you can just
do direct memory accesses.  now, this is something we want to fix,
but it's not a bug in the PA code.

-- 
Revolutions do not require corporate support.