lkml.org 
[lkml]   [2001]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [sparc] Weird ioctl() bug in 2.2.19 (fwd)
On Thu, 1 Nov 2001, Alex Buell wrote:

> On Thu, 1 Nov 2001, Paul Mackerras wrote:
>
> > > Anyway, I can fix it now by adding the appropriate AFMT_S16_BE statement
> > > guarded by a #ifdef but this sucks. Thanks to Peter Jones who spotted this
> > > one.
> >
> > Why can't you just use AFMT_S16_NE on all platforms? That is supposed
> > to be equal to AFMT_S16_BE on big-endian platforms and to AFMT_S16_LE
> > on little-endian platforms. NE == native endian.
>
> Ah, is that what it does. OK, I'll carefully suggest to the authors of ESD
> (preferably with a blunt trauma instrument) using AFMT_S16_NE. Thanks.

It should probably be mentioned that you're using a really old version of
ESD, and that they've at least made it so that you'll get the right one
for any BE machine. NE is still the better answer though -- now their
configure script figures out BE/LE, and it'll build wrong if you're
crosscompiling.

--
Peter

"Don't everyone thank me at once!"
-- Solo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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