From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 16 Mar 2008 15:27:42 +0000 (GMT) Received: from smtp-out28.alice.it ([85.33.2.28]:47634 "EHLO smtp-out28.alice.it") by ftp.linux-mips.org with ESMTP id S28597101AbYCPP1j (ORCPT ); Sun, 16 Mar 2008 15:27:39 +0000 Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out28.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Sun, 16 Mar 2008 16:27:34 +0100 Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 16 Mar 2008 16:27:33 +0100 Received: from raver.openwrt ([79.19.114.153]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 16 Mar 2008 16:27:32 +0100 From: Matteo Croce To: Thomas Bogendoerfer Subject: Re: [PATCH][MIPS][5/6]: AR7: serial hack Date: Sun, 16 Mar 2008 16:27:31 +0100 User-Agent: KMail/1.9.9 Cc: Alan Cox , linux-mips@linux-mips.org, Florian Fainelli , Felix Fietkau , Nicolas Thill , linux-serial@vger.kernel.org, Andrew Morton References: <200803120221.25044.technoboy85@gmail.com> <200803130131.54570.technoboy85@gmail.com> <20080313090109.GB6012@alpha.franken.de> In-Reply-To: <20080313090109.GB6012@alpha.franken.de> X-Face: 0AUq?,0sKh2O65+R5#[nTCS'~}"m)9|g3Tsi=g7A9q69S+=M!BY)=?utf-8?q?Zdmwo2u!i=5CUylx=26=27D+=0A=09=5B7u=26z1=27s=7E=5B=3F+=24=27w?= =?utf-8?q?O6+?="'WWcr5Jy,]}8namg8NP:9a]{m MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803161627.31556.technoboy85@gmail.com> X-OriginalArrivalTime: 16 Mar 2008 15:27:32.0817 (UTC) FILETIME=[411BF410:01C8877A] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 18402 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: technoboy85@gmail.com Precedence: bulk X-list: linux-mips Il Thursday 13 March 2008 10:01:09 Thomas Bogendoerfer ha scritto: > On Thu, Mar 13, 2008 at 01:31:54AM +0100, Matteo Croce wrote: > > Il Wednesday 12 March 2008 12:16:29 Alan Cox ha scritto: > > > On Wed, 12 Mar 2008 02:30:06 +0100 > > > Matteo Croce wrote: > > > > > > > Ugly but we need it > > > > > > Too ugly - NAK > > > > > > However please send an explanation of the problem and lets find a nicer > > > way to do it or bury it in arch code. > > > > > > > > > > This is my problem: > > > > ffi_cmdset_000: DDisabling erae-ssuspend-progrm ddue to code bokeenness. > > cmdlinparrt partition arssing not avaiabll > > RedBoo ppartition parsngg not availabl > > NET: Rgiistered protocl family 1 > > NET: Regsteered protocol ammily 10 > > IPv6 overIPPv4 tunnelingdriiver > > NET: Regsteered protocolfammily 17 > > FS:: Mounted roo (ssquashfs filessttem) readonly. > > Freeing nuused kernel meorry: 120k freed > > > > I'll try to find a nicer way to fix it > > don't use AFE mode and treat it like a normal 16550 (PORT_16550A). You > could also try to use UPIO_MEM32. That's how my console driver > (different OS) works for AR7 without the hack to wait for LSR_TEMP and > LSR_THRE. > > Thomas. > What about the .fcr field? PORT_16550A uses UART_FCR_R_TRIG_10 while AR7 uses UART_FCR_R_TRIG_00