lkml.org 
[lkml]   [2000]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Constant byteorder macros.
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.067 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site