On Wed, 7 Feb 2007, Oliver Neukum wrote:

> > I have often thought exactly the same thing.  It seems so natural to 
> > combine unaligned reads and writes with byte-reordering.  I even brought 
> > up the issue on LKML: Why shouldn't there be architecture-dependent 
> > versions of
> > 
> >     get_unaligned_le16(), get_unaligned_le32(), get_unaligned_le64(),
> >     get_unaligned_be16(), get_unaligned_be32(), get_unaligned_be64(),
> > 
> > and the corresponding put_unaligned...() things?
> > 
> > But for some unclear reason people weren't in favor of it.  And as a 
> > result, the kernel is filled with roll-your-own versions of these things.
> 
> You should try again. They are needed.

I get tired of fighting these uphill battles.  It's amazing how truculent
people can be about something like this.

Let someone else do it.  (If any of you decides to propose this API more 
widely, please remember to CC: me!)

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to