lkml.org 
[lkml]   [2003]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.23-rc1
On Tue, 11 Nov 2003 23:10:27 +0000
viro@parcelfarce.linux.theplanet.co.uk wrote:

> > ir-usb.c should not assume all baud speed rate macros are
> > available on all platforms.
>
> Umm... Why are they defined in asm-*/* and not in linux/*?

Because each platform may wish to use different values
for these things as they are part of the user visible ABI.

For example, on Sparc we choose values which matched up closely
to what SunOS uses in order to make the compatability layer
for SunOS binaries easier to implement.

It just so happens that the bits are layed out on Sparc such
that we could only fit so many baud rate encodings, we didn't
have enough left to define one for B4000000.

You will notice that in the entire 2.6.x tree, ir-usb.c is the
only piece of code which makes reference to this value.
-
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:58    [W:0.066 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site