From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9ff8bc26f9294bd0af9de59dd4f6ff00.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199611220710.XAA23156@paradigm.webvision.com> Date: Thu, 21 Nov 1996 23:10:16 -0800 From: dave madden Subject: CBAUDEX rates (57600 & up) I've found a bug in /usr/include/asm/termbits.h (RH4.0/2.0.18). The baud-rate-handling code in linux/drivers/char/serial.c is designed to work around the ugly baud rate specification scheme in linux/include/asm-i386/termbits.h, but it doesn't work with the redesigned, elegant scheme for the Alpha. This patch fixes things, but you have to recompile your kernel and possibly some programs that use CBAUD or CBAUDEX (minicom apparently does not use them in a way that requires recompilation; I'll be trying ppp next). d. *** termbits.h.buggy Thu Nov 21 18:02:30 1996 --- termbits.h Thu Nov 21 18:03:42 1996 *************** *** 101,107 **** #define XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */ /* c_cflag bit meaning */ ! #define CBAUD 0000017 #define B0 0000000 /* hang up */ #define B50 0000001 #define B75 0000002 --- 101,107 ---- #define XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */ /* c_cflag bit meaning */ ! #define CBAUD 0000037 #define B0 0000000 /* hang up */ #define B50 0000001 #define B75 0000002 *************** *** 120,126 **** #define B38400 0000017 #define EXTA B19200 #define EXTB B38400 ! #define CBAUDEX 0000020 #define B57600 00020 #define B115200 00021 #define B230400 00022 --- 120,126 ---- #define B38400 0000017 #define EXTA B19200 #define EXTB B38400 ! #define CBAUDEX 0000000 #define B57600 00020 #define B115200 00021 #define B230400 00022 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com