]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From: Mark Salter <msalter@redhat.com> |
2 | Subject: pata_sch: slave devices | |
3 | References: bnc#443657 | |
4 | ||
5 | I posted this last month, but was prompted to do so again in bz#467457 | |
6 | ||
7 | Add capability flag to support slave devices with pata_sch driver. | |
8 | ||
9 | Signed-off-by: Mark Salter <msalter@redhat.com> | |
10 | Signed-off-by: Tejun Heo <teheo@suse.de> | |
11 | --- | |
12 | drivers/ata/pata_sch.c | 2 +- | |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
14 | ||
15 | Index: 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 */ |