- libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     libata: add missing ->data_xfer for pata_pdc2027x and pdc_adma

has been removed from the -mm tree.  Its filename is

     libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma.patch

This patch was dropped because the files which it patches have vanished

------------------------------------------------------
Subject: libata: add missing ->data_xfer for pata_pdc2027x and pdc_adma
From: Tejun Heo <htejun@xxxxxxxxx>


pata_pdc2027x and pdc_adma use libata-core PIO path but were left out
during ->data_xfer conversion.  Initialize with proper callbacks.

This patch is against the current libata-dev#ALL.  Controllers which
implement their own PIO HSM (ahci and sil24) don't need ->data_xfer, so the
above two are the only drivers which were left out during conversion.


  Tejun Heo's patch to fill in data_xfer for pata_pdc2027x only did half of
  the job.  This does the other half, fixing a boot-time null-dereference oops
  for me.

Signed-off-by: Barry K. Nathan <barryn@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/scsi/pata_pdc2027x.c |    2 ++
 drivers/scsi/pdc_adma.c      |    1 +
 2 files changed, 3 insertions(+)

diff -puN drivers/scsi/pata_pdc2027x.c~libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma drivers/scsi/pata_pdc2027x.c
--- devel/drivers/scsi/pata_pdc2027x.c~libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma	2006-06-09 15:17:13.000000000 -0700
+++ devel-akpm/drivers/scsi/pata_pdc2027x.c	2006-06-09 15:17:13.000000000 -0700
@@ -164,6 +164,7 @@ static struct ata_port_operations pdc202
 	.qc_prep		= ata_qc_prep,
 	.qc_issue		= ata_qc_issue_prot,
 	.eng_timeout		= ata_eng_timeout,
+	.data_xfer		= ata_mmio_data_xfer,
 
 	.irq_handler		= ata_interrupt,
 	.irq_clear		= ata_bmdma_irq_clear,
@@ -195,6 +196,7 @@ static struct ata_port_operations pdc202
 	.qc_prep		= ata_qc_prep,
 	.qc_issue		= ata_qc_issue_prot,
 	.eng_timeout		= ata_eng_timeout,
+	.data_xfer		= ata_mmio_data_xfer,
 
 	.irq_handler		= ata_interrupt,
 	.irq_clear		= ata_bmdma_irq_clear,
diff -puN drivers/scsi/pdc_adma.c~libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma drivers/scsi/pdc_adma.c
--- devel/drivers/scsi/pdc_adma.c~libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma	2006-06-09 15:17:13.000000000 -0700
+++ devel-akpm/drivers/scsi/pdc_adma.c	2006-06-09 15:17:13.000000000 -0700
@@ -167,6 +167,7 @@ static const struct ata_port_operations 
 	.qc_prep		= adma_qc_prep,
 	.qc_issue		= adma_qc_issue,
 	.eng_timeout		= adma_eng_timeout,
+	.data_xfer		= ata_mmio_data_xfer,
 	.irq_handler		= adma_intr,
 	.irq_clear		= adma_irq_clear,
 	.port_start		= adma_port_start,
_

Patches currently in -mm which might be from htejun@xxxxxxxxx are

git-libata-all.patch
libata-add-missing-data_xfer-for-pata_pdc2027x-and-pdc_adma.patch
libata-reduce-timeouts.patch
sata_sil24-endian-anotations.patch
libata-debug.patch
fix-broken-dubious-driver-suspend-methods.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux