]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/libata-pata_sch-slave-poss
Move xen patchset to new version's subdir.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / libata-pata_sch-slave-poss
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/libata-pata_sch-slave-poss b/src/patches/suse-2.6.27.31/patches.drivers/libata-pata_sch-slave-poss
new file mode 100644 (file)
index 0000000..d3645c0
--- /dev/null
@@ -0,0 +1,27 @@
+From: Mark Salter <msalter@redhat.com>
+Subject: pata_sch: slave devices
+References: bnc#443657
+
+I posted this last month, but was prompted to do so again in bz#467457
+
+Add capability flag to support slave devices with pata_sch driver.
+
+Signed-off-by: Mark Salter <msalter@redhat.com>
+Signed-off-by: Tejun Heo <teheo@suse.de>
+---
+ drivers/ata/pata_sch.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: linux-2.6.27/drivers/ata/pata_sch.c
+===================================================================
+--- linux-2.6.27.orig/drivers/ata/pata_sch.c
++++ linux-2.6.27/drivers/ata/pata_sch.c
+@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pa
+ };
+ static struct ata_port_info sch_port_info = {
+-      .flags          = 0,
++      .flags          = ATA_FLAG_SLAVE_POSS,
+       .pio_mask       = ATA_PIO4,   /* pio0-4 */
+       .mwdma_mask     = ATA_MWDMA2, /* mwdma0-2 */
+       .udma_mask      = ATA_UDMA5,  /* udma0-5 */