On Mon, 27 Nov 2000, Keith Packard wrote:
>
> > I ordered one so I should have it next week.. After talking with Jim
> > I bet I know what they did.. *gross*.. But we'll see.. If I can get my
> > stuff talking to it I'll send out the info..
>
> Having found the video BIOS at the usual address, I'm pretty sure the I/O
> ports will be there as well; we just need to whack the PCMCIA code to map
> things correctly and the regular driver should "just work".
Beware the fact that IO and memory space are the same on ARM. Therefore, to
use an IO address, you need to map the corresponding physical memory address
into the kernel's virtual address space.
Because some SA1100 designs need the IO space to be mapped for hardwired IDE
interfaces and the like, and because it actually solve a problem with the
PCMCIA code, the PCMCIA IO space mapping is hardwired to the following
addresses: PCMCIA_IO_0_BASE and PCMCIA_IO_1_BASE. For memory and attribute
space then ioremap() is used.
So to use {in,out}[bwl]() you must add PCMCIA_IO_0_BASE to the address used
in the PCMCIA IO space.
Nicolas
Received on Mon Nov 27 16:47:10 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:47 EDT