Re: [patch] read[bwl] and ioremap problem

Linus Torvalds (torvalds@transmeta.com)
Sat, 18 Dec 1999 15:27:46 -0800 (PST)


On 18 Dec 1999, Jes Sorensen wrote:
>
> This patch is clearly wrong, since the Mac doesn't have IDE on an ISA
> bus, thus it shouldn't use those macros. However it's not on a PCI bus
> either so it shouldn't use readb/writeb in the first place ;-)

readb/writeb do not have to be PCI.

Any bus that looks from a sw perspective enough like it might as well be
considered "PCI-like". Some of them may or may not need ioremap(). It
becomes a problem only if there is a machine that has BOTH a real PCI
bus _and_ something else, but with an old m68k mac that doesn't end up
being a problem.

Linus

-
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/