diff options
author | Tejun Heo <htejun@gmail.com> | 2007-02-01 01:06:36 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:38 -0500 |
commit | 0d5ff566779f894ca9937231a181eb31e4adff0e (patch) | |
tree | d1c7495c932581c1d41aa7f0fdb303348da49106 /drivers/ata/pata_artop.c | |
parent | 1a68ff13c8a9b517de3fd4187dc525412a6eba1b (diff) |
libata: convert to iomap
Convert libata core layer and LLDs to use iomap.
* managed iomap is used. Pointer to pcim_iomap_table() is cached at
host->iomap and used through out LLDs. This basically replaces
host->mmio_base.
* if possible, pcim_iomap_regions() is used
Most iomap operation conversions are taken from Jeff Garzik
<jgarzik@pobox.com>'s iomap branch.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_artop.c')
-rw-r--r-- | drivers/ata/pata_artop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 5baea1222227..ace5a98dd59d 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -341,7 +341,7 @@ static const struct ata_port_operations artop6210_ops = { | |||
341 | .qc_prep = ata_qc_prep, | 341 | .qc_prep = ata_qc_prep, |
342 | .qc_issue = ata_qc_issue_prot, | 342 | .qc_issue = ata_qc_issue_prot, |
343 | 343 | ||
344 | .data_xfer = ata_pio_data_xfer, | 344 | .data_xfer = ata_data_xfer, |
345 | 345 | ||
346 | .irq_handler = ata_interrupt, | 346 | .irq_handler = ata_interrupt, |
347 | .irq_clear = ata_bmdma_irq_clear, | 347 | .irq_clear = ata_bmdma_irq_clear, |
@@ -371,7 +371,7 @@ static const struct ata_port_operations artop6260_ops = { | |||
371 | .bmdma_status = ata_bmdma_status, | 371 | .bmdma_status = ata_bmdma_status, |
372 | .qc_prep = ata_qc_prep, | 372 | .qc_prep = ata_qc_prep, |
373 | .qc_issue = ata_qc_issue_prot, | 373 | .qc_issue = ata_qc_issue_prot, |
374 | .data_xfer = ata_pio_data_xfer, | 374 | .data_xfer = ata_data_xfer, |
375 | 375 | ||
376 | .irq_handler = ata_interrupt, | 376 | .irq_handler = ata_interrupt, |
377 | .irq_clear = ata_bmdma_irq_clear, | 377 | .irq_clear = ata_bmdma_irq_clear, |