From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH 3/3] serial: pl011: allow very high baudrates Date: Fri, 21 Sep 2012 21:34:40 +0100 Message-ID: <20120921203440.GA6796@n2100.arm.linux.org.uk> References: <1348134368-25663-1-git-send-email-linus.walleij@stericsson.com> <20120920190034.GB15609@n2100.arm.linux.org.uk> <20120921162543.1ed18775@pyramind.ukuu.org.uk> <20120921205603.436a0194@pyramind.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:37785 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756288Ab2IUUfK (ORCPT ); Fri, 21 Sep 2012 16:35:10 -0400 Content-Disposition: inline In-Reply-To: <20120921205603.436a0194@pyramind.ukuu.org.uk> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Alan Cox Cc: Linus Walleij , Greg Kroah-Hartman , Alan Cox , Linus Walleij , linux-serial@vger.kernel.org, Guillaume Jaunet , Par-Gunnar Hjalmdahl , Anmar Oueja , Matthias Locher , "Rajanikanth H.V" , Christophe Arnal , linux-arm-kernel@lists.infradead.org On Fri, Sep 21, 2012 at 08:56:03PM +0100, Alan Cox wrote: > If you are calling TCSETS2 passing BOTHER and an actual specific speed > you should always be getting handed back the speed requested as it'll see > the BOTHER flag is present and assume the caller is smart. Is this something that should be handled by glibc? If so, ARM for whatever reason still seems to use the standard TCGETS and TCSETS calls... at least stracing stty in ubuntu precise suggests that's the case.