map iomem in linux_2_4_dev
David Gibson
david at gibson.dropbear.id.au
Mon May 27 16:34:51 EST 2002
On Mon, May 27, 2002 at 01:59:54PM +0800, shaowei dai wrote:
>
> Hello, every one:
>
> I've searched through the achieve, but failed to find stuff about mapping
> io-memmory in this linux_2_4_dev version.
> After check the source code, it seems from 2_4_dev onwards, no need to use
> ioremap to map io memory. We
> should use io_block_mapping() instead.
No, you should use ioremap() wherever possible. Only use
io_block_mapping() if for some strange reason you need to specify the
virtual address.
--
David Gibson | For every complex problem there is a
david at gibson.dropbear.id.au | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list