From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 4E1C9DDDF8 for ; Sat, 17 Feb 2007 08:41:42 +1100 (EST) Subject: Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives From: Benjamin Herrenschmidt To: Sergei Shtylyov In-Reply-To: <45D5C5CC.9070406@ru.mvista.com> References: <20070210203512.GA25586@aepfle.de> <20070216092046.GA2572@aepfle.de> <45D5B720.4010308@ru.mvista.com> <200702161553.54550.bzolnier@gmail.com> <45D5C5CC.9070406@ru.mvista.com> Content-Type: text/plain Date: Sat, 17 Feb 2007 08:41:19 +1100 Message-Id: <1171662079.5644.77.camel@localhost.localdomain> Mime-Version: 1.0 Cc: Andrew Morton , Olaf Hering , Bartlomiej Zolnierkiewicz , Jeff Garzik , linuxppc-dev@ozlabs.org, linux-ide@vger.kernel.org, Paul Mackeras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2007-02-16 at 17:55 +0300, Sergei Shtylyov wrote: > Hello. > > Bartlomiej Zolnierkiewicz wrote: > > >> I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver > >>is for VLB only, sl81c105 was for PCI only -- you certainly want to use > >>pata_sl82c105 (indeed better version of sl82c105 driver). > > > I was under the impression that with your fixes these drivers > > (sl82c105 and pata_sl82c105) are functionally equivalent. > > They're not yet equivalent. pata_sl82c105 supports all MWDMA modes, > sl82c105 still supports only MWDMA2. BTW, the "old ide" sl82c105 currently upstream produces warnings on 64 bits platforms about conversion between int and pointers of different sizes. I didn't have time to look closely yesterday though, could be harmless. Ben.