diff options
Diffstat (limited to 'drivers/ata/pata_ns87415.c')
-rw-r--r-- | drivers/ata/pata_ns87415.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_ns87415.c b/drivers/ata/pata_ns87415.c index 03a52cefc010..ae92b0049bd5 100644 --- a/drivers/ata/pata_ns87415.c +++ b/drivers/ata/pata_ns87415.c | |||
@@ -138,7 +138,7 @@ static void ns87415_bmdma_setup(struct ata_queued_cmd *qc) | |||
138 | dmactl |= ATA_DMA_WR; | 138 | dmactl |= ATA_DMA_WR; |
139 | iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); | 139 | iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); |
140 | /* issue r/w command */ | 140 | /* issue r/w command */ |
141 | ap->ops->exec_command(ap, &qc->tf); | 141 | ap->ops->sff_exec_command(ap, &qc->tf); |
142 | } | 142 | } |
143 | 143 | ||
144 | /** | 144 | /** |
@@ -306,7 +306,7 @@ static struct ata_port_operations ns87415_pata_ops = { | |||
306 | .bmdma_setup = ns87415_bmdma_setup, | 306 | .bmdma_setup = ns87415_bmdma_setup, |
307 | .bmdma_start = ns87415_bmdma_start, | 307 | .bmdma_start = ns87415_bmdma_start, |
308 | .bmdma_stop = ns87415_bmdma_stop, | 308 | .bmdma_stop = ns87415_bmdma_stop, |
309 | .irq_clear = ns87415_irq_clear, | 309 | .sff_irq_clear = ns87415_irq_clear, |
310 | 310 | ||
311 | .cable_detect = ata_cable_40wire, | 311 | .cable_detect = ata_cable_40wire, |
312 | .set_piomode = ns87415_set_piomode, | 312 | .set_piomode = ns87415_set_piomode, |
@@ -315,8 +315,8 @@ static struct ata_port_operations ns87415_pata_ops = { | |||
315 | #if defined(CONFIG_SUPERIO) | 315 | #if defined(CONFIG_SUPERIO) |
316 | static struct ata_port_operations ns87560_pata_ops = { | 316 | static struct ata_port_operations ns87560_pata_ops = { |
317 | .inherits = &ns87415_pata_ops, | 317 | .inherits = &ns87415_pata_ops, |
318 | .tf_read = ns87560_tf_read, | 318 | .sff_tf_read = ns87560_tf_read, |
319 | .check_status = ns87560_check_status, | 319 | .sff_check_status = ns87560_check_status, |
320 | .bmdma_status = ns87560_bmdma_status, | 320 | .bmdma_status = ns87560_bmdma_status, |
321 | }; | 321 | }; |
322 | #endif | 322 | #endif |