aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ali.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-02-01 01:06:36 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:38 -0500
commit0d5ff566779f894ca9937231a181eb31e4adff0e (patch)
treed1c7495c932581c1d41aa7f0fdb303348da49106 /drivers/ata/pata_ali.c
parent1a68ff13c8a9b517de3fd4187dc525412a6eba1b (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_ali.c')
-rw-r--r--drivers/ata/pata_ali.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c
index f4fdb10211e3..dffa1f539fc9 100644
--- a/drivers/ata/pata_ali.c
+++ b/drivers/ata/pata_ali.c
@@ -370,7 +370,7 @@ static struct ata_port_operations ali_early_port_ops = {
370 .qc_prep = ata_qc_prep, 370 .qc_prep = ata_qc_prep,
371 .qc_issue = ata_qc_issue_prot, 371 .qc_issue = ata_qc_issue_prot,
372 372
373 .data_xfer = ata_pio_data_xfer, 373 .data_xfer = ata_data_xfer,
374 374
375 .irq_handler = ata_interrupt, 375 .irq_handler = ata_interrupt,
376 .irq_clear = ata_bmdma_irq_clear, 376 .irq_clear = ata_bmdma_irq_clear,
@@ -409,7 +409,7 @@ static struct ata_port_operations ali_20_port_ops = {
409 .qc_prep = ata_qc_prep, 409 .qc_prep = ata_qc_prep,
410 .qc_issue = ata_qc_issue_prot, 410 .qc_issue = ata_qc_issue_prot,
411 411
412 .data_xfer = ata_pio_data_xfer, 412 .data_xfer = ata_data_xfer,
413 413
414 .irq_handler = ata_interrupt, 414 .irq_handler = ata_interrupt,
415 .irq_clear = ata_bmdma_irq_clear, 415 .irq_clear = ata_bmdma_irq_clear,
@@ -445,7 +445,7 @@ static struct ata_port_operations ali_c2_port_ops = {
445 .qc_prep = ata_qc_prep, 445 .qc_prep = ata_qc_prep,
446 .qc_issue = ata_qc_issue_prot, 446 .qc_issue = ata_qc_issue_prot,
447 447
448 .data_xfer = ata_pio_data_xfer, 448 .data_xfer = ata_data_xfer,
449 449
450 .irq_handler = ata_interrupt, 450 .irq_handler = ata_interrupt,
451 .irq_clear = ata_bmdma_irq_clear, 451 .irq_clear = ata_bmdma_irq_clear,
@@ -480,7 +480,7 @@ static struct ata_port_operations ali_c5_port_ops = {
480 .qc_prep = ata_qc_prep, 480 .qc_prep = ata_qc_prep,
481 .qc_issue = ata_qc_issue_prot, 481 .qc_issue = ata_qc_issue_prot,
482 482
483 .data_xfer = ata_pio_data_xfer, 483 .data_xfer = ata_data_xfer,
484 484
485 .irq_handler = ata_interrupt, 485 .irq_handler = ata_interrupt,
486 .irq_clear = ata_bmdma_irq_clear, 486 .irq_clear = ata_bmdma_irq_clear,