From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f51.google.com (mail-bw0-f51.google.com [209.85.214.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 12F58B6F8C for ; Wed, 15 Jun 2011 21:24:30 +1000 (EST) Received: by bwz10 with SMTP id 10so396709bwz.38 for ; Wed, 15 Jun 2011 04:24:26 -0700 (PDT) MIME-Version: 1.0 Sender: geert.uytterhoeven@gmail.com In-Reply-To: <201106151146.13320.arnd@arndb.de> References: <20110614190850.GA13526@linux-mips.org> <201106142333.16203.arnd@arndb.de> <4DF83577.6040903@zytor.com> <201106151146.13320.arnd@arndb.de> Date: Wed, 15 Jun 2011 13:24:24 +0200 Message-ID: Subject: Re: [RFC,PATCH] Cleanup PC parallel port Kconfig From: Geert Uytterhoeven To: Arnd Bergmann 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 , "H. Peter Anvin" , sparclinux@vger.kernel.org, Guan Xuetao , Lennox Wu , linux-arch@vger.kernel.org, Jesper Nilsson , Russell King , Yoshinori Sato , Helge Deller , x86@kernel.org, "James E.J. Bottomley" , Ingo Molnar , Matt Turner , Fenghua Yu , 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-parisc@vger.kernel.org, linux-cris-kernel@axis.com, 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 Wed, Jun 15, 2011 at 11:46, Arnd Bergmann wrote: > * In case of floppies, the "solution" was to write a driver for every pla= tform that > =C2=A0doesn't have PIO, since they tend to have other differences. The am= iflop and > =C2=A0ataflop drivers are not even use readb(), they just derefence volat= ile pointers > =C2=A0to do MMIO. I doubt we can find volunteers to clean that up. Amiflop drives the Amiga floppy controller, which is completely different from the PC-style floppy controller. Ataflop drives the Atari floppy controller, which seems to be a WD1772 and = not related to PC-style floppy controllers neither. So none of them drive PC-style hardware, and both predate the generic readb= () infrastructure. Gr{oetje,eeting}s, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 -- Linus Torvalds