summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-12-03 20:32:11 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-12-03 16:06:00 -0500
commit43c7d17ee7e03433c57dc4ce457d34110108455a (patch)
treec743a14f286be0b2fcf0150d2d10666faf725d4d /drivers/ata/pata_legacy.c
parent13a28c15dd08f321cfa82cbb37024dc1bb825bbe (diff)
downloadop-kernel-dev-43c7d17ee7e03433c57dc4ce457d34110108455a.zip
op-kernel-dev-43c7d17ee7e03433c57dc4ce457d34110108455a.tar.gz
pata_legacy: fix QDI6580DP support
Dual port QDI6580 has shared PIO timings for master/slave devices so it needs to use custom ->qc_issue method. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r--drivers/ata/pata_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index 6932e56..da2546b 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -787,6 +787,7 @@ static struct ata_port_operations qdi6580_port_ops = {
static struct ata_port_operations qdi6580dp_port_ops = {
.inherits = &legacy_base_port_ops,
.set_piomode = qdi6580dp_set_piomode,
+ .qc_issue = qdi_qc_issue,
.sff_data_xfer = vlb32_data_xfer,
};
OpenPOWER on IntegriCloud