Re: Constant byteorder macros.

From: David Woodhouse (dwmw2@infradead.org)
Date: Mon Jan 24 2000 - 09:23:35 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:12 EST