Messages in this thread | | | Date | Tue, 19 Sep 2000 17:36:55 -0700 | From | "David S. Miller" <> | Subject | Re: 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/
| |