linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add delay around sl82c105_reset_engine calls
       [not found] <20070210203512.GA25586@aepfle.de>
@ 2007-02-10 20:36 ` Olaf Hering
  2007-02-15 23:09   ` Jeff Garzik
  0 siblings, 1 reply; 15+ messages in thread
From: Olaf Hering @ 2007-02-10 20:36 UTC (permalink / raw)
  To: linuxppc-dev, Andrew Morton; +Cc: linux-ide


The hald media changed polling does really confuse things.
Noone knows why the delays are needed, but they give us access to the CD.

An udelay(50) will give reliable access to the drive, but there is still
one (or more) EH reset. The drive works without EH resets with udelay(100).

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
 drivers/ata/pata_sl82c105.c |    3 +++
 1 file changed, 3 insertions(+)

Index: linux-2.6/drivers/ata/pata_sl82c105.c
===================================================================
--- linux-2.6.orig/drivers/ata/pata_sl82c105.c
+++ linux-2.6/drivers/ata/pata_sl82c105.c
@@ -187,7 +187,9 @@ static void sl82c105_bmdma_start(struct 
 {
 	struct ata_port *ap = qc->ap;
 
+	udelay(100);
 	sl82c105_reset_engine(ap);
+	udelay(100);
 
 	/* Set the clocks for DMA */
 	sl82c105_configure_dmamode(ap, qc->dev);
@@ -216,6 +218,7 @@ static void sl82c105_bmdma_stop(struct a
 
 	ata_bmdma_stop(qc);
 	sl82c105_reset_engine(ap);
+	udelay(100);
 
 	/* This will redo the initial setup of the DMA device to matching
 	   PIO timings */

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] add delay around sl82c105_reset_engine calls
  2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
@ 2007-02-15 23:09   ` Jeff Garzik
  2007-02-16  9:20     ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
  0 siblings, 1 reply; 15+ messages in thread
From: Jeff Garzik @ 2007-02-15 23:09 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Andrew Morton, linuxppc-dev, linux-ide

Olaf Hering wrote:
> The hald media changed polling does really confuse things.
> Noone knows why the delays are needed, but they give us access to the CD.
> 
> An udelay(50) will give reliable access to the drive, but there is still
> one (or more) EH reset. The drive works without EH resets with udelay(100).
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> 
> ---
>  drivers/ata/pata_sl82c105.c |    3 +++
>  1 file changed, 3 insertions(+)

applied

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-15 23:09   ` Jeff Garzik
@ 2007-02-16  9:20     ` Olaf Hering
  2007-02-16 13:52       ` Sergei Shtylyov
                         ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Olaf Hering @ 2007-02-16  9:20 UTC (permalink / raw)
  To: Jeff Garzik, Paul Mackeras; +Cc: Andrew Morton, linuxppc-dev, linux-ide


Change the default for the built-in IDE on p610/p615/p630 from
ide to libata. libata has better error handling and the drive can
recover when hald does its CD media polling.

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
 arch/powerpc/configs/ppc64_defconfig   |    4 ++--
 arch/powerpc/configs/pseries_defconfig |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
+++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
@@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
 # CONFIG_BLK_DEV_PDC202XX_NEW is not set
 # CONFIG_BLK_DEV_SVWKS is not set
 # CONFIG_BLK_DEV_SIIMAGE is not set
-CONFIG_BLK_DEV_SL82C105=y
+# CONFIG_BLK_DEV_SL82C105 is not set
 # CONFIG_BLK_DEV_SLC90E66 is not set
 # CONFIG_BLK_DEV_TRM290 is not set
 # CONFIG_BLK_DEV_VIA82CXXX is not set
@@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
 # CONFIG_PATA_SIL680 is not set
 # CONFIG_PATA_SIS is not set
 # CONFIG_PATA_VIA is not set
-# CONFIG_PATA_WINBOND is not set
+CONFIG_PATA_WINBOND=y
 
 #
 # Multi-device support (RAID and LVM)
Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
===================================================================
--- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
+++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
@@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
 # CONFIG_BLK_DEV_PDC202XX_NEW is not set
 # CONFIG_BLK_DEV_SVWKS is not set
 # CONFIG_BLK_DEV_SIIMAGE is not set
-CONFIG_BLK_DEV_SL82C105=y
+# CONFIG_BLK_DEV_SL82C105 is not set
 # CONFIG_BLK_DEV_SLC90E66 is not set
 # CONFIG_BLK_DEV_TRM290 is not set
 # CONFIG_BLK_DEV_VIA82CXXX is not set
@@ -628,7 +628,7 @@ CONFIG_ATA=y
 # CONFIG_PATA_SIL680 is not set
 # CONFIG_PATA_SIS is not set
 # CONFIG_PATA_VIA is not set
-# CONFIG_PATA_WINBOND is not set
+CONFIG_PATA_WINBOND=y
 
 #
 # Multi-device support (RAID and LVM)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16  9:20     ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
@ 2007-02-16 13:52       ` Sergei Shtylyov
  2007-02-16 14:51         ` Sergei Shtylyov
  2007-02-16 14:53         ` Bartlomiej Zolnierkiewicz
  2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
  2007-02-17 20:36       ` Jeff Garzik
  2 siblings, 2 replies; 15+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 13:52 UTC (permalink / raw)
  To: Olaf Hering
  Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev,
	linux-ide

Hello.

Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.

> Signed-off-by: Olaf Hering <olaf@aepfle.de>

> ---
>  arch/powerpc/configs/ppc64_defconfig   |    4 ++--
>  arch/powerpc/configs/pseries_defconfig |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
> @@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>  # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>  # CONFIG_BLK_DEV_SVWKS is not set
>  # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
>  # CONFIG_BLK_DEV_SLC90E66 is not set
>  # CONFIG_BLK_DEV_TRM290 is not set
>  # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
>  # CONFIG_PATA_SIL680 is not set
>  # CONFIG_PATA_SIS is not set
>  # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y
>  
>  #
>  # Multi-device support (RAID and LVM)
> Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> ===================================================================
> --- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
> +++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
> @@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>  # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>  # CONFIG_BLK_DEV_SVWKS is not set
>  # CONFIG_BLK_DEV_SIIMAGE is not set
> -CONFIG_BLK_DEV_SL82C105=y
> +# CONFIG_BLK_DEV_SL82C105 is not set
>  # CONFIG_BLK_DEV_SLC90E66 is not set
>  # CONFIG_BLK_DEV_TRM290 is not set
>  # CONFIG_BLK_DEV_VIA82CXXX is not set
> @@ -628,7 +628,7 @@ CONFIG_ATA=y
>  # CONFIG_PATA_SIL680 is not set
>  # CONFIG_PATA_SIS is not set
>  # CONFIG_PATA_VIA is not set
> -# CONFIG_PATA_WINBOND is not set
> +CONFIG_PATA_WINBOND=y

    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).

WBR, Sergei

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16  9:20     ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
  2007-02-16 13:52       ` Sergei Shtylyov
@ 2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
  2007-02-16 14:51         ` Bartlomiej Zolnierkiewicz
  2007-02-16 17:37         ` Olaf Hering
  2007-02-17 20:36       ` Jeff Garzik
  2 siblings, 2 replies; 15+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:46 UTC (permalink / raw)
  To: Olaf Hering
  Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev,
	linux-ide


Hi,

On Friday 16 February 2007 10:20, Olaf Hering wrote:
> 
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>

Does IDE sl82c105 need the same udelay() fix patch as done for
pata_winbond?

Bart

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 13:52       ` Sergei Shtylyov
@ 2007-02-16 14:51         ` Sergei Shtylyov
  2007-02-16 14:53         ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 15+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 14:51 UTC (permalink / raw)
  To: Olaf Hering
  Cc: Andrew Morton, linuxppc-dev, Paul Mackeras, Jeff Garzik,
	linux-ide

Hello, I wrote:

>>Change the default for the built-in IDE on p610/p615/p630 from
>>ide to libata. libata has better error handling and the drive can
>>recover when hald does its CD media polling.

>>Signed-off-by: Olaf Hering <olaf@aepfle.de>

>>Index: linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
>>===================================================================
>>--- linux-2.6.20.orig/arch/powerpc/configs/ppc64_defconfig
>>+++ linux-2.6.20/arch/powerpc/configs/ppc64_defconfig
>>@@ -500,7 +500,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>> # CONFIG_BLK_DEV_SVWKS is not set
>> # CONFIG_BLK_DEV_SIIMAGE is not set
>>-CONFIG_BLK_DEV_SL82C105=y
>>+# CONFIG_BLK_DEV_SL82C105 is not set
>> # CONFIG_BLK_DEV_SLC90E66 is not set
>> # CONFIG_BLK_DEV_TRM290 is not set
>> # CONFIG_BLK_DEV_VIA82CXXX is not set
>>@@ -646,7 +646,7 @@ CONFIG_SATA_SVW=y
>> # CONFIG_PATA_SIL680 is not set
>> # CONFIG_PATA_SIS is not set
>> # CONFIG_PATA_VIA is not set
>>-# CONFIG_PATA_WINBOND is not set
>>+CONFIG_PATA_WINBOND=y
>> 
>> #
>> # Multi-device support (RAID and LVM)
>>Index: linux-2.6.20/arch/powerpc/configs/pseries_defconfig
>>===================================================================
>>--- linux-2.6.20.orig/arch/powerpc/configs/pseries_defconfig
>>+++ linux-2.6.20/arch/powerpc/configs/pseries_defconfig
>>@@ -483,7 +483,7 @@ CONFIG_BLK_DEV_AMD74XX=y
>> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
>> # CONFIG_BLK_DEV_SVWKS is not set
>> # CONFIG_BLK_DEV_SIIMAGE is not set
>>-CONFIG_BLK_DEV_SL82C105=y
>>+# CONFIG_BLK_DEV_SL82C105 is not set
>> # CONFIG_BLK_DEV_SLC90E66 is not set
>> # CONFIG_BLK_DEV_TRM290 is not set
>> # CONFIG_BLK_DEV_VIA82CXXX is not set
>>@@ -628,7 +628,7 @@ CONFIG_ATA=y
>> # CONFIG_PATA_SIL680 is not set
>> # CONFIG_PATA_SIS is not set
>> # CONFIG_PATA_VIA is not set
>>-# CONFIG_PATA_WINBOND is not set
>>+CONFIG_PATA_WINBOND=y

>     I'm sorry, how those 2 drivers can be equivalent?! The pata_winbond driver 

    Sorry indeed -- I didn't realize PATA_WINBOND correscponds to 
pata_sl82c105 (somewhat confusing, isn't it?).

WBR, Sergei

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 14:51         ` Bartlomiej Zolnierkiewicz
  2007-02-16 17:37         ` Olaf Hering
  1 sibling, 0 replies; 15+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:51 UTC (permalink / raw)
  To: Olaf Hering
  Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev,
	linux-ide


On Friday 16 February 2007 15:46, Bartlomiej Zolnierkiewicz wrote:
> 
> Hi,
> 
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> > 
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> > 
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
> 
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?

s/pata_winbond/pata_sl82c105/ of course

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 13:52       ` Sergei Shtylyov
  2007-02-16 14:51         ` Sergei Shtylyov
@ 2007-02-16 14:53         ` Bartlomiej Zolnierkiewicz
  2007-02-16 14:55           ` Sergei Shtylyov
  1 sibling, 1 reply; 15+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 14:53 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
	linuxppc-dev, linux-ide


On Friday 16 February 2007 14:52, Sergei Shtylyov 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.

Did I miss something (i.e. some patches)?

Bart

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 14:53         ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 14:55           ` Sergei Shtylyov
  2007-02-16 15:09             ` Bartlomiej Zolnierkiewicz
  2007-02-16 21:41             ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 15+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 14:55 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
	linuxppc-dev, linux-ide

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.

WBR, Sergei

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 15:09             ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 15:06               ` Sergei Shtylyov
  2007-02-16 15:11                 ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:06 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
	linuxppc-dev, linux-ide

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.

> Indeed and it seems that IDE core needs ->dma_mode to fix this.

    Not really.  It just needs the proper DMA timings to be set by adding the 
missing speedproc() method (and also DMA timings possibly merged with PIO like 
libata does generally -- except in this driver).

> Thanks,
> Bart

MBR, Sergei

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 14:55           ` Sergei Shtylyov
@ 2007-02-16 15:09             ` Bartlomiej Zolnierkiewicz
  2007-02-16 15:06               ` Sergei Shtylyov
  2007-02-16 21:41             ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 15+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-16 15:09 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Olaf Hering, Jeff Garzik, Paul Mackeras, Andrew Morton,
	linuxppc-dev, linux-ide


On Friday 16 February 2007 15:55, 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.

Indeed and it seems that IDE core needs ->dma_mode to fix this.

Thanks,
Bart

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 15:06               ` Sergei Shtylyov
@ 2007-02-16 15:11                 ` Sergei Shtylyov
  0 siblings, 0 replies; 15+ messages in thread
From: Sergei Shtylyov @ 2007-02-16 15:11 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Andrew Morton, Olaf Hering, Jeff Garzik, linux-ide, linuxppc-dev,
	Paul Mackeras

Hello, I 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.

>>Indeed and it seems that IDE core needs ->dma_mode to fix this.

>     Not really.  It just needs the proper DMA timings to be set by adding the 
> missing speedproc() method (and also DMA timings possibly merged with PIO like 
> libata does generally -- except in this driver).

    By "this driver" I meant pata_sl82c105 of course. :-)

>>Thanks,
>>Bart

MBR, Sergei

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
  2007-02-16 14:51         ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 17:37         ` Olaf Hering
  1 sibling, 0 replies; 15+ messages in thread
From: Olaf Hering @ 2007-02-16 17:37 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Jeff Garzik, Paul Mackeras, Andrew Morton, linuxppc-dev,
	linux-ide

On Fri, Feb 16, Bartlomiej Zolnierkiewicz wrote:

> 
> Hi,
> 
> On Friday 16 February 2007 10:20, Olaf Hering wrote:
> > 
> > Change the default for the built-in IDE on p610/p615/p630 from
> > ide to libata. libata has better error handling and the drive can
> > recover when hald does its CD media polling.
> > 
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
> 
> Does IDE sl82c105 need the same udelay() fix patch as done for
> pata_winbond?

I dont know, but I suspect a delay is required somewhere.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16 14:55           ` Sergei Shtylyov
  2007-02-16 15:09             ` Bartlomiej Zolnierkiewicz
@ 2007-02-16 21:41             ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 15+ messages in thread
From: Benjamin Herrenschmidt @ 2007-02-16 21:41 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Andrew Morton, Olaf Hering, Bartlomiej Zolnierkiewicz,
	Jeff Garzik, linuxppc-dev, linux-ide, Paul Mackeras

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] use winbond libata instead of ide driver for pseries CD drives
  2007-02-16  9:20     ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
  2007-02-16 13:52       ` Sergei Shtylyov
  2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
@ 2007-02-17 20:36       ` Jeff Garzik
  2 siblings, 0 replies; 15+ messages in thread
From: Jeff Garzik @ 2007-02-17 20:36 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Paul Mackeras, Andrew Morton, linuxppc-dev, linux-ide

Olaf Hering wrote:
> Change the default for the built-in IDE on p610/p615/p630 from
> ide to libata. libata has better error handling and the drive can
> recover when hald does its CD media polling.
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> 
> ---
>  arch/powerpc/configs/ppc64_defconfig   |    4 ++--
>  arch/powerpc/configs/pseries_defconfig |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

ACK the patch.  I presume Paul will apply it, as its within his file 
hierarchy



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-02-17 20:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070210203512.GA25586@aepfle.de>
2007-02-10 20:36 ` [PATCH] add delay around sl82c105_reset_engine calls Olaf Hering
2007-02-15 23:09   ` Jeff Garzik
2007-02-16  9:20     ` [PATCH] use winbond libata instead of ide driver for pseries CD drives Olaf Hering
2007-02-16 13:52       ` Sergei Shtylyov
2007-02-16 14:51         ` Sergei Shtylyov
2007-02-16 14:53         ` Bartlomiej Zolnierkiewicz
2007-02-16 14:55           ` Sergei Shtylyov
2007-02-16 15:09             ` Bartlomiej Zolnierkiewicz
2007-02-16 15:06               ` Sergei Shtylyov
2007-02-16 15:11                 ` Sergei Shtylyov
2007-02-16 21:41             ` Benjamin Herrenschmidt
2007-02-16 14:46       ` Bartlomiej Zolnierkiewicz
2007-02-16 14:51         ` Bartlomiej Zolnierkiewicz
2007-02-16 17:37         ` Olaf Hering
2007-02-17 20:36       ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).