Re: Constant byteorder macros.

David Woodhouse (dwmw2@infradead.org)
Mon, 24 Jan 2000 14:23:35 +0000


alan@lxorguk.ukuu.org.uk said:
> There is a standard for htonl() and it returns a 32bit type.

That doesn't mean we have to provide or use it _within_ the kernel.

> b/w/d would make more sense in PCI nomenclature. Too late

Why's it too late? Are these names specified in the PCI spec, or just the
Linux code?

We could add {write,read}{8,16,32,64} routines now, #define the old
read[bwl] accordingly, and in early 2.5 start to warn about the use of the old
versions.

--
dwmw2

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