>
> I am porting an x86 Linux driver to ARM Linux for the TS-7250. The
> device is a PC/104 synchronous serial interface.
>
> I am able to read the device registers from a user-mode application by
> opening /dev/mem and calling mmap(). I am failing when I use
> ioremap_nocache() in the loadable module code to access the ISA 8-bit
> I/O ports using the existing inb() and outb() calls.
inb() and outb() are x86 only constructs. IIRC, They have already been
overloaded (i.e. hacked) by Cirrus to access
on-CPU peripherals. PC104 IO space is statically mapped in the memory space
of the kernel (see arch/arm/mach-ep93xx/mm.c and
include/asm-arm/arch-ep93xx/regmap.h). 8-bit PC/104 space starts at
physical addr 0x11c0_000.
//Jesse Off
>
> Can someone point to a loadable module in the TS-7200 kernel source
> that correctly accesses I/O ports on the ISA (PC/104) bus?
>
> Thanks in advance,
>
> Scott
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|