summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sch.c
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2008-11-06 08:03:23 -0500
committerJeff Garzik <jgarzik@redhat.com>2008-11-11 02:58:59 -0500
commitbc170e656881306d65eb1318c98032e1ab305ee8 (patch)
tree17d29e552a593a46328d9641fce1cc5a57da3a6a /drivers/ata/pata_sch.c
parentbd6b52a17b9af630c38bb4f89609be5654d71e1e (diff)
downloadlinux-bc170e656881306d65eb1318c98032e1ab305ee8.tar.gz
linux-bc170e656881306d65eb1318c98032e1ab305ee8.tar.bz2
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/pata_sch.c')
-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 */