Constant byteorder macros.

David Woodhouse dwmw2 en infradead.org
Lun Ene 24 18:15:16 CST 2000


alan en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda