linux-mips
[Top] [All Lists]

Re: ISA

To: geert@linux-m68k.org (Geert Uytterhoeven)
Subject: Re: ISA
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Wed, 19 Dec 2001 13:59:40 +0000 (GMT)
Cc: macro@ds2.pg.gda.pl (Maciej W. Rozycki), jsun@mvista.com (Jun Sun), jim@jtan.com, linux-mips@oss.sgi.com (Linux/MIPS Development)
In-reply-to: <Pine.GSO.4.21.0112191046380.28694-100000@vervain.sonytel.be> from "Geert Uytterhoeven" at Dec 19, 2001 10:52:47 AM
Sender: owner-linux-mips@oss.sgi.com
> You must _not_ use readb()/writeb() and friends with ISA memory space!
> You must use isa_readb()/isa_writeb() and friends!

Linus is saying the reverse. Drivers are moving away from isa_

> But for memory accesses, ISA memory space is not necessarily at `address 0'.

ioremap uses ookies, its up to yoyu what you hide in the cookie from an ISA
ioremap

<Prev in Thread] Current Thread [Next in Thread>