Re: New resources - pls, explain :-(

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 11 Aug 1999 23:25:48 +0100 (BST)


> I like rth's suggestion about having bus-specific ioremap() instead of a
> generic one; then all readl() etc. would go through that, and do "the

Its cute but if you think harder the implementation would suck

> right thing" for that bus. One could add "bigendian_writel()" and
> "littleendian_writel()" to satisfy the Linus constraint of making
> unusual usage of writel() obvious.

So every I/O has an if in it. Nothing like stalling the pipeline before we
probably stall on I/O writes to make things twice as painful.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/