ts-7000
[Top] [All Lists]

Re: [ts-7000] ioremap() example

To:
Subject: Re: [ts-7000] ioremap() example
From: "Jesse Off" <>
Date: Mon, 18 Apr 2005 14:57:29 -0700


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



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

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU