Commit bc170e65 authored by Mark Salter's avatar Mark Salter Committed by Jeff Garzik

[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: default avatarMark Salter <msalter@redhat.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent bd6b52a1
...@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = { ...@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = {
}; };
static struct ata_port_info sch_port_info = { static struct ata_port_info sch_port_info = {
.flags = 0, .flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = ATA_PIO4, /* pio0-4 */ .pio_mask = ATA_PIO4, /* pio0-4 */
.mwdma_mask = ATA_MWDMA2, /* mwdma0-2 */ .mwdma_mask = ATA_MWDMA2, /* mwdma0-2 */
.udma_mask = ATA_UDMA5, /* udma0-5 */ .udma_mask = ATA_UDMA5, /* udma0-5 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment