linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [git patch] libata build fix
@ 2007-03-03 15:39 Jeff Garzik
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2007-03-03 15:39 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-ide, LKML


A merge mistake slipped upstream.

Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus

to receive the following updates:

 drivers/ata/pata_jmicron.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Jeff Garzik (1):
      [libata] pata_jmicron: build fix

diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c
index 033319e..43763c9 100644
--- a/drivers/ata/pata_jmicron.c
+++ b/drivers/ata/pata_jmicron.c
@@ -244,7 +244,6 @@ static void __exit jmicron_exit(void)
 {
 	pci_unregister_driver(&jmicron_pci_driver);
 }
-#endif
 
 module_init(jmicron_init);
 module_exit(jmicron_exit);

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

* [git patch] libata build fix
@ 2007-10-15 22:13 Jeff Garzik
  2007-10-16 23:23 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Garzik @ 2007-10-15 22:13 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-ide, LKML


And it becomes obvious I normally do my building and testing on x86-64...

Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus

to receive the following updates:

 drivers/ata/pata_cs5536.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Jeff Garzik (1):
      [libata] pata_cs5536: new API build fix

diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
index 21405bf..53070f6 100644
--- a/drivers/ata/pata_cs5536.c
+++ b/drivers/ata/pata_cs5536.c
@@ -239,7 +239,6 @@ static struct scsi_host_template cs5536_sht = {
 };
 
 static struct ata_port_operations cs5536_port_ops = {
-	.port_disable		= ata_port_disable,
 	.set_piomode		= cs5536_set_piomode,
 	.set_dmamode		= cs5536_set_dmamode,
 	.mode_filter		= ata_pci_default_filter,
@@ -269,7 +268,6 @@ static struct ata_port_operations cs5536_port_ops = {
 	.irq_handler		= ata_interrupt,
 	.irq_clear		= ata_bmdma_irq_clear,
 	.irq_on			= ata_irq_on,
-	.irq_ack		= ata_irq_ack,
 
 	.port_start		= ata_port_start,
 };

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

* Re: [git patch] libata build fix
  2007-10-15 22:13 [git patch] libata build fix Jeff Garzik
@ 2007-10-16 23:23 ` Bartlomiej Zolnierkiewicz
  2007-10-17 20:00   ` Martin K. Petersen
  2007-10-20  2:57   ` Jeff Garzik
  0 siblings, 2 replies; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-10-16 23:23 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Andrew Morton, Linus Torvalds, linux-ide, LKML,
	Martin K. Petersen

On Tuesday 16 October 2007, Jeff Garzik wrote:

> Jeff Garzik (1):
>       [libata] pata_cs5536: new API build fix

We probably need also this one for pata_cs5536:

[PATCH] pata_cs5536: MWDMA fix

* Fix out-of-bound array access for MWDMA modes.

* Bump driver version.

Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ata/pata_cs5536.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/drivers/ata/pata_cs5536.c
===================================================================
--- a/drivers/ata/pata_cs5536.c
+++ b/drivers/ata/pata_cs5536.c
@@ -40,7 +40,7 @@
 #include <asm/msr.h>
 
 #define DRV_NAME	"pata_cs5536"
-#define DRV_VERSION	"0.0.5"
+#define DRV_VERSION	"0.0.6"
 
 enum {
 	CFG			= 0,
@@ -214,7 +214,7 @@ static void cs5536_set_dmamode(struct at
 		cs5536_read(pdev, DTC, &dtc);
 
 		dtc &= ~(IDE_DRV_MASK << dshift);
-		dtc |= mwdma_timings[mode] << dshift;
+		dtc |= mwdma_timings[mode - XFER_MW_DMA_0] << dshift;
 
 		cs5536_write(pdev, DTC, dtc);
 	}

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

* Re: [git patch] libata build fix
  2007-10-16 23:23 ` Bartlomiej Zolnierkiewicz
@ 2007-10-17 20:00   ` Martin K. Petersen
  2007-10-20  2:57   ` Jeff Garzik
  1 sibling, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2007-10-17 20:00 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Jeff Garzik, Andrew Morton, Linus Torvalds, linux-ide, LKML,
	Martin K. Petersen

>>>>> "BZ" == Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> writes:

BZ> We probably need also this one for pata_cs5536:

BZ> [PATCH] pata_cs5536: MWDMA fix

BZ> * Fix out-of-bound array access for MWDMA modes.

BZ> * Bump driver version.

Obviously correct.  

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering


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

* Re: [git patch] libata build fix
  2007-10-16 23:23 ` Bartlomiej Zolnierkiewicz
  2007-10-17 20:00   ` Martin K. Petersen
@ 2007-10-20  2:57   ` Jeff Garzik
  1 sibling, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2007-10-20  2:57 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Andrew Morton, Linus Torvalds, linux-ide, LKML,
	Martin K. Petersen

Bartlomiej Zolnierkiewicz wrote:
> On Tuesday 16 October 2007, Jeff Garzik wrote:
> 
>> Jeff Garzik (1):
>>       [libata] pata_cs5536: new API build fix
> 
> We probably need also this one for pata_cs5536:
> 
> [PATCH] pata_cs5536: MWDMA fix
> 
> * Fix out-of-bound array access for MWDMA modes.
> 
> * Bump driver version.
> 
> Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
> Cc: Jeff Garzik <jeff@garzik.org>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> ---
>  drivers/ata/pata_cs5536.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

applied



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

end of thread, other threads:[~2007-10-20  2:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 22:13 [git patch] libata build fix Jeff Garzik
2007-10-16 23:23 ` Bartlomiej Zolnierkiewicz
2007-10-17 20:00   ` Martin K. Petersen
2007-10-20  2:57   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2007-03-03 15:39 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).