lkml.org 
[lkml]   [1999]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] read[bwl] and ioremap problem


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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.221 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site