]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.drivers/libata-pata_sch-slave-poss
Move xen patchset to new version's subdir.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / libata-pata_sch-slave-poss
CommitLineData
00e5a55c
BS
1From: Mark Salter <msalter@redhat.com>
2Subject: pata_sch: slave devices
3References: bnc#443657
4
5I posted this last month, but was prompted to do so again in bz#467457
6
7Add capability flag to support slave devices with pata_sch driver.
8
9Signed-off-by: Mark Salter <msalter@redhat.com>
10Signed-off-by: Tejun Heo <teheo@suse.de>
11---
12 drivers/ata/pata_sch.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15Index: linux-2.6.27/drivers/ata/pata_sch.c
16===================================================================
17--- linux-2.6.27.orig/drivers/ata/pata_sch.c
18+++ linux-2.6.27/drivers/ata/pata_sch.c
19@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pa
20 };
21
22 static struct ata_port_info sch_port_info = {
23- .flags = 0,
24+ .flags = ATA_FLAG_SLAVE_POSS,
25 .pio_mask = ATA_PIO4, /* pio0-4 */
26 .mwdma_mask = ATA_MWDMA2, /* mwdma0-2 */
27 .udma_mask = ATA_UDMA5, /* udma0-5 */