lkml.org 
[lkml]   [2000]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: get_tty_baud_rate() on sparc64
   Date: 	Tue, 19 Sep 2000 13:59:53 +0200
From: Florian Lohoff <flo@rfc822.org>

while porting a serial multiport driver to sparc64 i disovered that the
function get_tty_baud_rate() only returns 50 or 75 Baud
for 57600 and 115200 which is *aehm* not what i expected.

Is this something i made wrong when setting up something or
is it another "Sparc[64] is different" issue ?

There is a bug in the Sparc headerfiles for the baud rate ioctls, the
kernel headers didn't match the userland headers under
/usr/include/bits. Just fix the CBAUD etc. defines in
/usr/include/bits/termios.h to match the include/asm-sparc/termios.h
values and it should be fine.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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