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_amd.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_amd.c')
-rw-r--r-- | drivers/ata/pata_amd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c index 7ee0c83c657a..ed0e4f6fc715 100644 --- a/drivers/ata/pata_amd.c +++ b/drivers/ata/pata_amd.c | |||
@@ -362,7 +362,7 @@ static struct ata_port_operations amd33_port_ops = { | |||
362 | .qc_prep = ata_qc_prep, | 362 | .qc_prep = ata_qc_prep, |
363 | .qc_issue = ata_qc_issue_prot, | 363 | .qc_issue = ata_qc_issue_prot, |
364 | 364 | ||
365 | .data_xfer = ata_pio_data_xfer, | 365 | .data_xfer = ata_data_xfer, |
366 | 366 | ||
367 | .irq_handler = ata_interrupt, | 367 | .irq_handler = ata_interrupt, |
368 | .irq_clear = ata_bmdma_irq_clear, | 368 | .irq_clear = ata_bmdma_irq_clear, |
@@ -394,7 +394,7 @@ static struct ata_port_operations amd66_port_ops = { | |||
394 | .qc_prep = ata_qc_prep, | 394 | .qc_prep = ata_qc_prep, |
395 | .qc_issue = ata_qc_issue_prot, | 395 | .qc_issue = ata_qc_issue_prot, |
396 | 396 | ||
397 | .data_xfer = ata_pio_data_xfer, | 397 | .data_xfer = ata_data_xfer, |
398 | 398 | ||
399 | .irq_handler = ata_interrupt, | 399 | .irq_handler = ata_interrupt, |
400 | .irq_clear = ata_bmdma_irq_clear, | 400 | .irq_clear = ata_bmdma_irq_clear, |
@@ -426,7 +426,7 @@ static struct ata_port_operations amd100_port_ops = { | |||
426 | .qc_prep = ata_qc_prep, | 426 | .qc_prep = ata_qc_prep, |
427 | .qc_issue = ata_qc_issue_prot, | 427 | .qc_issue = ata_qc_issue_prot, |
428 | 428 | ||
429 | .data_xfer = ata_pio_data_xfer, | 429 | .data_xfer = ata_data_xfer, |
430 | 430 | ||
431 | .irq_handler = ata_interrupt, | 431 | .irq_handler = ata_interrupt, |
432 | .irq_clear = ata_bmdma_irq_clear, | 432 | .irq_clear = ata_bmdma_irq_clear, |
@@ -458,7 +458,7 @@ static struct ata_port_operations amd133_port_ops = { | |||
458 | .qc_prep = ata_qc_prep, | 458 | .qc_prep = ata_qc_prep, |
459 | .qc_issue = ata_qc_issue_prot, | 459 | .qc_issue = ata_qc_issue_prot, |
460 | 460 | ||
461 | .data_xfer = ata_pio_data_xfer, | 461 | .data_xfer = ata_data_xfer, |
462 | 462 | ||
463 | .irq_handler = ata_interrupt, | 463 | .irq_handler = ata_interrupt, |
464 | .irq_clear = ata_bmdma_irq_clear, | 464 | .irq_clear = ata_bmdma_irq_clear, |
@@ -490,7 +490,7 @@ static struct ata_port_operations nv100_port_ops = { | |||
490 | .qc_prep = ata_qc_prep, | 490 | .qc_prep = ata_qc_prep, |
491 | .qc_issue = ata_qc_issue_prot, | 491 | .qc_issue = ata_qc_issue_prot, |
492 | 492 | ||
493 | .data_xfer = ata_pio_data_xfer, | 493 | .data_xfer = ata_data_xfer, |
494 | 494 | ||
495 | .irq_handler = ata_interrupt, | 495 | .irq_handler = ata_interrupt, |
496 | .irq_clear = ata_bmdma_irq_clear, | 496 | .irq_clear = ata_bmdma_irq_clear, |
@@ -522,7 +522,7 @@ static struct ata_port_operations nv133_port_ops = { | |||
522 | .qc_prep = ata_qc_prep, | 522 | .qc_prep = ata_qc_prep, |
523 | .qc_issue = ata_qc_issue_prot, | 523 | .qc_issue = ata_qc_issue_prot, |
524 | 524 | ||
525 | .data_xfer = ata_pio_data_xfer, | 525 | .data_xfer = ata_data_xfer, |
526 | 526 | ||
527 | .irq_handler = ata_interrupt, | 527 | .irq_handler = ata_interrupt, |
528 | .irq_clear = ata_bmdma_irq_clear, | 528 | .irq_clear = ata_bmdma_irq_clear, |