Re: get_tty_baud_rate() on sparc64

From: David S. Miller (davem@redhat.com)
Date: Tue Sep 19 2000 - 19:36:55 EST


   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/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:22 EST