From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards Subject: Re: How to disable the transmit FIFO? Date: Thu, 18 Nov 2010 22:31:55 -0600 Message-ID: <20101119043155.GA17198@grante> References: <20101118164122.GB2855@kroah.com> <20101119012523.GT3290@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:62299 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705Ab0KSEcE (ORCPT ); Thu, 18 Nov 2010 23:32:04 -0500 Received: by iwn35 with SMTP id 35so4333843iwn.19 for ; Thu, 18 Nov 2010 20:32:02 -0800 (PST) Content-Disposition: inline In-Reply-To: <20101119012523.GT3290@thunk.org> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Ted Ts'o Cc: Michael Haardt , linux-serial@vger.kernel.org On Thu, Nov 18, 2010 at 08:25:23PM -0500, Ted Ts'o wrote: > On Thu, Nov 18, 2010 at 08:05:56PM +0000, Grant Edwards wrote: > > On 2010-11-18, Michael Haardt wrote: > > >> > I miss a way to disable the transmit FIFO. > > >> > > >> From userspace or from within a kernel driver? > > > > > > From userspace. > > > > $ man setserial > > Specifically, if you use setserial to configure a serial port so that > its UART is a 16450, it will force the transmit FIFO to be unused. You can also leave the UART type as 16[56]50 and set the tx fifo threshold to 1. That way you're only taking half the hit on interrupt overhead. -- Grant