Re: ioremap return type

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Aug 09 2000 - 06:21:36 EST


Abramo Bagnara wrote:
> Am I wrong if I affirm that changing the prototypes into:
>
> unsigned long ioremap(unsigned long base, long length);
> void iounmap(unsigned long);
>
> we would solve (well, not solve, simply we'd show it ;-) a lot of
> porting issue?
>
> The value returned from ioremap *is not* something usable with
> dereference operator.

Name it ioaddr_t -- to clarify usage for _new_ driver authors.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:18 EST