summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2008-11-06 14:03:23 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-11-11 08:58:59 +0100
commitbc170e656881306d65eb1318c98032e1ab305ee8 (patch)
tree17d29e552a593a46328d9641fce1cc5a57da3a6a /drivers/ata
parent[libata] pata_cs553*.c: cleanup kernel-doc (diff)
downloadlinux-bc170e656881306d65eb1318c98032e1ab305ee8.tar.xz
linux-bc170e656881306d65eb1318c98032e1ab305ee8.zip
[libata] pata_sch: notice attached slave devices
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: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_sch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c
index c8cc027789fe..6aeeeeb34124 100644
--- a/drivers/ata/pata_sch.c
+++ b/drivers/ata/pata_sch.c
@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = {
};
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 */