public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit.
@ 2009-11-10 23:58 Krzysztof Halasa
  2009-11-11  0:08 ` Lennart Sorensen
  2009-11-17  3:18 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Halasa @ 2009-11-10 23:58 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide, lkml

Tested on IXP425 + CS5536.

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>

diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
index 88a7933..0898213 100644
--- a/drivers/ata/pata_cs5536.c
+++ b/drivers/ata/pata_cs5536.c
@@ -232,7 +232,7 @@ static struct scsi_host_template cs5536_sht = {
 };
 
 static struct ata_port_operations cs5536_port_ops = {
-	.inherits		= &ata_bmdma_port_ops,
+	.inherits		= &ata_bmdma32_port_ops,
 	.cable_detect		= cs5536_cable_detect,
 	.set_piomode		= cs5536_set_piomode,
 	.set_dmamode		= cs5536_set_dmamode,

-- 
Krzysztof Halasa

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

* Re: ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit.
  2009-11-10 23:58 ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit Krzysztof Halasa
@ 2009-11-11  0:08 ` Lennart Sorensen
  2009-11-17  3:18 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Sorensen @ 2009-11-11  0:08 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: Jeff Garzik, linux-ide, lkml

On Wed, Nov 11, 2009 at 12:58:16AM +0100, Krzysztof Halasa wrote:
> Tested on IXP425 + CS5536.

Well I guess we will find out if it works on the Geode LX + CS5536 and
loongson + CS5536 sometime.  I don't know why it wouldn't work.

> Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
> 
> diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
> index 88a7933..0898213 100644
> --- a/drivers/ata/pata_cs5536.c
> +++ b/drivers/ata/pata_cs5536.c
> @@ -232,7 +232,7 @@ static struct scsi_host_template cs5536_sht = {
>  };
>  
>  static struct ata_port_operations cs5536_port_ops = {
> -	.inherits		= &ata_bmdma_port_ops,
> +	.inherits		= &ata_bmdma32_port_ops,
>  	.cable_detect		= cs5536_cable_detect,
>  	.set_piomode		= cs5536_set_piomode,
>  	.set_dmamode		= cs5536_set_dmamode,

-- 
Len Sorensen

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

* Re: ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit.
  2009-11-10 23:58 ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit Krzysztof Halasa
  2009-11-11  0:08 ` Lennart Sorensen
@ 2009-11-17  3:18 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2009-11-17  3:18 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: linux-ide, lkml

On 11/10/2009 06:58 PM, Krzysztof Halasa wrote:
> Tested on IXP425 + CS5536.
>
> Signed-off-by: Krzysztof Hałasa<khc@pm.waw.pl>
>
> diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
> index 88a7933..0898213 100644
> --- a/drivers/ata/pata_cs5536.c
> +++ b/drivers/ata/pata_cs5536.c
> @@ -232,7 +232,7 @@ static struct scsi_host_template cs5536_sht = {
>   };
>
>   static struct ata_port_operations cs5536_port_ops = {
> -	.inherits		=&ata_bmdma_port_ops,
> +	.inherits		=&ata_bmdma32_port_ops,
>   	.cable_detect		= cs5536_cable_detect,
>   	.set_piomode		= cs5536_set_piomode,
>   	.set_dmamode		= cs5536_set_dmamode,

applied



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

end of thread, other threads:[~2009-11-17  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10 23:58 ATA: Make CS5536 PATA driver use 32-bit BM DMA template instead of 16-bit Krzysztof Halasa
2009-11-11  0:08 ` Lennart Sorensen
2009-11-17  3:18 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox