Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751088AbWH1Rkh (ORCPT ); Mon, 28 Aug 2006 13:40:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751221AbWH1Rkg (ORCPT ); Mon, 28 Aug 2006 13:40:36 -0400 Received: from 24-75-174-210-st.chvlva.adelphia.net ([24.75.174.210]:14825 "EHLO sanosuke.troilus.org") by vger.kernel.org with ESMTP id S1751088AbWH1Rkf (ORCPT ); Mon, 28 Aug 2006 13:40:35 -0400 To: "linux-os \(Dick Johnson\)" Cc: "Alan Cox" , , Subject: Re: Serial custom speed deprecated? From: Michael Poole Date: Mon, 28 Aug 2006 13:40:35 -0400 In-Reply-To: (linux-os@analogic.com's message of "Mon, 28 Aug 2006 12:57:03 -0400") Message-ID: <87hczwkbcc.fsf@graviton.dyn.troilus.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) References: <20060826181639.6545.qmail@science.horizon.com> <1156775994.6271.28.camel@localhost.localdomain> <87lkp8kgdv.fsf@graviton.dyn.troilus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1495 Lines: 32 linux-os \(Dick Johnson\) writes: > On Mon, 28 Aug 2006, Michael Poole wrote: > >> What baud rate does your system define CBAUDEX | B0 to be? On my > > B0 is 0 (zero), no bits. If you are trying to play semantic games and > claim B0 is 1, i.e., bit 0, then it would not be written as B0, it > would be written as B(0) or B:0. B0 is defined to be the baud-rate > used to hang up the modem. It is zero in all bits on most all > implementations including my Sun. On most recent Linux distributions, > CBAUDEX is (octal) 0010000. Since B0 is zero, ORing it into CBAUDEX > does nothing. Thanks, Sherlock! Again: What does CBAUDEX, by itself, do on your system? As Alan Cox obviously thought the rest of the world was bright enough to notice, and as I tried to explain, the CBAUDEX bit is currently not defined when set by itself (i.e. as if it were CBAUDEX, CBAUDEX | B0, CBAUDEX << 0 or however else you want to denote it); there is always some other low-order (CBAUD) bit associated with it: >> AMD64 machine, both the x86-64 and i386 asm/termbits.h files skip >> CBAUDEX -- B38400 is 0000017 and B57600 is 0010001 (CBAUDEX | B50). >> The headers do not define any baud rate between those two, either by >> rate or by c_cflag value. Michael Poole - 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/