From: Mark Salter Date: Thu, 6 Nov 2008 13:03:23 +0000 (-0500) Subject: [libata] pata_sch: notice attached slave devices X-Git-Tag: v2.6.28-rc5~88^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bc170e656881306d65eb1318c98032e1ab305ee8;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c index c8cc027789f..6aeeeeb3412 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 */