From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [RFC,PATCH] Cleanup PC parallel port Kconfig Date: Wed, 15 Jun 2011 08:08:05 -0700 Message-ID: <4DF8CAD5.1090902@zytor.com> References: <20110614190850.GA13526@linux-mips.org> <4DF7C3CA.9050902@zytor.com> <201106142333.16203.arnd@arndb.de> <4DF83577.6040903@zytor.com> <20110615074749.GB28989@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110615074749.GB28989@n2100.arm.linux.org.uk> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: Russell King - ARM Linux Cc: linux-mips@linux-mips.org, linux-m68k@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Chen Liqin , Paul Mackerras , sparclinux@vger.kernel.org, Guan Xuetao , Lennox Wu , linux-arch@vger.kernel.org, Jesper Nilsson , Yoshinori Sato , Helge Deller , x86@kernel.org, "James E.J. Bottomley" , Ingo Molnar , Geert Uytterhoeven , Matt Turner , Fenghua Yu , Arnd Bergmann , microblaze-uclinux@itee.uq.edu.au, Chris Metcalf , Mikael Starvik , Ivan Kokshaysky , Thomas Gleixner , linux-arm-kernel@lists.infra On 06/15/2011 12:47 AM, Russell King - ARM Linux wrote: >> >> OK, serial-8250 is clearly just plain wrong, since the 8250 series UARTs >> are ubiquitous across just about every platform. >> >> Floppy is special (in the short bus sense), since it is closely tied to >> ISA DMA. Conditionalizing this on ISA DMA makes total sense. > > No it doesn't. It depends on the ISA DMA API, not that the machine has > ISA DMA. > > I have a platform which has no ISA DMA but uses the floppy driver. Please > don't break it. OK, even more case in point, then. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 15 Jun 2011 17:08:59 +0200 (CEST) Received: from terminus.zytor.com ([198.137.202.10]:59899 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1491098Ab1FOPIx (ORCPT ); Wed, 15 Jun 2011 17:08:53 +0200 Received: from tazenda.hos.anvin.org ([IPv6:2001:470:861f:0:e269:95ff:fe35:9f3c]) (authenticated bits=0) by mail.zytor.com (8.14.4/8.14.4) with ESMTP id p5FF8Arv008610 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 15 Jun 2011 08:08:11 -0700 Message-ID: <4DF8CAD5.1090902@zytor.com> Date: Wed, 15 Jun 2011 08:08:05 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Russell King - ARM Linux CC: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Ralf Baechle , linux-mips@linux-mips.org, linux-m68k@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Benjamin Herrenschmidt , Chen Liqin , Paul Mackerras , sparclinux@vger.kernel.org, Guan Xuetao , Lennox Wu , linux-arch@vger.kernel.org, Jesper Nilsson , Yoshinori Sato , Helge Deller , x86@kernel.org, "James E.J. Bottomley" , Ingo Molnar , Geert Uytterhoeven , Matt Turner , Fenghua Yu , microblaze-uclinux@itee.uq.edu.au, Chris Metcalf , Mikael Starvik , Ivan Kokshaysky , Thomas Gleixner , Richard Henderson , Chris Zankel , Michal Simek , Tony Luck , linux-parisc@vger.kernel.org, linux-cris-kernel@axis.com, linux-kernel@vger.kernel.org, Kyle McMartin , Paul Mundt , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" Subject: Re: [RFC,PATCH] Cleanup PC parallel port Kconfig References: <20110614190850.GA13526@linux-mips.org> <4DF7C3CA.9050902@zytor.com> <201106142333.16203.arnd@arndb.de> <4DF83577.6040903@zytor.com> <20110615074749.GB28989@n2100.arm.linux.org.uk> In-Reply-To: <20110615074749.GB28989@n2100.arm.linux.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-archive-position: 30412 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: hpa@zytor.com Precedence: bulk X-list: linux-mips Return-Path: X-Keywords: X-UID: 12416 On 06/15/2011 12:47 AM, Russell King - ARM Linux wrote: >> >> OK, serial-8250 is clearly just plain wrong, since the 8250 series UARTs >> are ubiquitous across just about every platform. >> >> Floppy is special (in the short bus sense), since it is closely tied to >> ISA DMA. Conditionalizing this on ISA DMA makes total sense. > > No it doesn't. It depends on the ISA DMA API, not that the machine has > ISA DMA. > > I have a platform which has no ISA DMA but uses the floppy driver. Please > don't break it. OK, even more case in point, then. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.zytor.com (terminus.zytor.com [IPv6:2001:1868:205::10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A1100B6F9D for ; Thu, 16 Jun 2011 01:09:05 +1000 (EST) Message-ID: <4DF8CAD5.1090902@zytor.com> Date: Wed, 15 Jun 2011 08:08:05 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 To: Russell King - ARM Linux Subject: Re: [RFC,PATCH] Cleanup PC parallel port Kconfig References: <20110614190850.GA13526@linux-mips.org> <4DF7C3CA.9050902@zytor.com> <201106142333.16203.arnd@arndb.de> <4DF83577.6040903@zytor.com> <20110615074749.GB28989@n2100.arm.linux.org.uk> In-Reply-To: <20110615074749.GB28989@n2100.arm.linux.org.uk> Content-Type: text/plain; charset=UTF-8 Cc: linux-mips@linux-mips.org, linux-m68k@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Chen Liqin , Paul Mackerras , sparclinux@vger.kernel.org, Guan Xuetao , Lennox Wu , linux-arch@vger.kernel.org, Jesper Nilsson , Yoshinori Sato , Helge Deller , x86@kernel.org, "James E.J. Bottomley" , Ingo Molnar , Geert Uytterhoeven , Matt Turner , Fenghua Yu , Arnd Bergmann , microblaze-uclinux@itee.uq.edu.au, Chris Metcalf , Mikael Starvik , Ivan Kokshaysky , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Richard Henderson , Chris Zankel , Michal Simek , Tony Luck , linux-cris-kernel@axis.com, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Ralf Baechle , Kyle McMartin , Paul Mundt , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 06/15/2011 12:47 AM, Russell King - ARM Linux wrote: >> >> OK, serial-8250 is clearly just plain wrong, since the 8250 series UARTs >> are ubiquitous across just about every platform. >> >> Floppy is special (in the short bus sense), since it is closely tied to >> ISA DMA. Conditionalizing this on ISA DMA makes total sense. > > No it doesn't. It depends on the ISA DMA API, not that the machine has > ISA DMA. > > I have a platform which has no ISA DMA but uses the floppy driver. Please > don't break it. OK, even more case in point, then. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hpa@zytor.com (H. Peter Anvin) Date: Wed, 15 Jun 2011 08:08:05 -0700 Subject: [RFC,PATCH] Cleanup PC parallel port Kconfig In-Reply-To: <20110615074749.GB28989@n2100.arm.linux.org.uk> References: <20110614190850.GA13526@linux-mips.org> <4DF7C3CA.9050902@zytor.com> <201106142333.16203.arnd@arndb.de> <4DF83577.6040903@zytor.com> <20110615074749.GB28989@n2100.arm.linux.org.uk> Message-ID: <4DF8CAD5.1090902@zytor.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/15/2011 12:47 AM, Russell King - ARM Linux wrote: >> >> OK, serial-8250 is clearly just plain wrong, since the 8250 series UARTs >> are ubiquitous across just about every platform. >> >> Floppy is special (in the short bus sense), since it is closely tied to >> ISA DMA. Conditionalizing this on ISA DMA makes total sense. > > No it doesn't. It depends on the ISA DMA API, not that the machine has > ISA DMA. > > I have a platform which has no ISA DMA but uses the floppy driver. Please > don't break it. OK, even more case in point, then. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.