]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[libata] pata_sch: notice attached slave devices
authorMark Salter <msalter@redhat.com>
Thu, 6 Nov 2008 13:03:23 +0000 (08:03 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 11 Nov 2008 07:58:59 +0000 (02:58 -0500)
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>
drivers/ata/pata_sch.c

index c8cc027789fec7bacc7bbcdb6f0f5baa2ebf45a5..6aeeeeb3412450f1fa5950296ce891f1463edea6 100644 (file)
@@ -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 */