Re: [patch] the other __raw_writel's

Gerard Roudier (groudier@club-internet.fr)
Fri, 20 Aug 1999 08:51:16 +0200 (MET DST)


On Thu, 19 Aug 1999, David Woodhouse wrote:

>
> jj@sunsite.ms.mff.cuni.cz said:
> > Take care, they are wrong. long is 64bit on sparc64, don't be
> > confused by read long when it is in fact a 32bit read.
>
> Then readl and writel are the wrong names for the routines.

In my opinion, people have had problems to disconnect from inb, inw and
inl names commonly used in the past. ;)

> We ought to rename them while we're at it.

Indeed write8, write16, write32 (write64), read8, etc... will be far
better names and can be added immediately, with the old confusing stuff
defined for compatibility.

(Note that I would prefer names like mmio_write32()).

Gérard.

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