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_sis.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_sis.c')
-rw-r--r-- | drivers/ata/pata_sis.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 88ed2aad4629..c82d75b96f60 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -603,7 +603,7 @@ static const struct ata_port_operations sis_133_ops = { | |||
603 | .bmdma_status = ata_bmdma_status, | 603 | .bmdma_status = ata_bmdma_status, |
604 | .qc_prep = ata_qc_prep, | 604 | .qc_prep = ata_qc_prep, |
605 | .qc_issue = ata_qc_issue_prot, | 605 | .qc_issue = ata_qc_issue_prot, |
606 | .data_xfer = ata_pio_data_xfer, | 606 | .data_xfer = ata_data_xfer, |
607 | 607 | ||
608 | .irq_handler = ata_interrupt, | 608 | .irq_handler = ata_interrupt, |
609 | .irq_clear = ata_bmdma_irq_clear, | 609 | .irq_clear = ata_bmdma_irq_clear, |
@@ -634,7 +634,7 @@ static const struct ata_port_operations sis_133_early_ops = { | |||
634 | .bmdma_status = ata_bmdma_status, | 634 | .bmdma_status = ata_bmdma_status, |
635 | .qc_prep = ata_qc_prep, | 635 | .qc_prep = ata_qc_prep, |
636 | .qc_issue = ata_qc_issue_prot, | 636 | .qc_issue = ata_qc_issue_prot, |
637 | .data_xfer = ata_pio_data_xfer, | 637 | .data_xfer = ata_data_xfer, |
638 | 638 | ||
639 | .irq_handler = ata_interrupt, | 639 | .irq_handler = ata_interrupt, |
640 | .irq_clear = ata_bmdma_irq_clear, | 640 | .irq_clear = ata_bmdma_irq_clear, |
@@ -666,7 +666,7 @@ static const struct ata_port_operations sis_100_ops = { | |||
666 | .bmdma_status = ata_bmdma_status, | 666 | .bmdma_status = ata_bmdma_status, |
667 | .qc_prep = ata_qc_prep, | 667 | .qc_prep = ata_qc_prep, |
668 | .qc_issue = ata_qc_issue_prot, | 668 | .qc_issue = ata_qc_issue_prot, |
669 | .data_xfer = ata_pio_data_xfer, | 669 | .data_xfer = ata_data_xfer, |
670 | 670 | ||
671 | .irq_handler = ata_interrupt, | 671 | .irq_handler = ata_interrupt, |
672 | .irq_clear = ata_bmdma_irq_clear, | 672 | .irq_clear = ata_bmdma_irq_clear, |
@@ -697,7 +697,7 @@ static const struct ata_port_operations sis_66_ops = { | |||
697 | .bmdma_status = ata_bmdma_status, | 697 | .bmdma_status = ata_bmdma_status, |
698 | .qc_prep = ata_qc_prep, | 698 | .qc_prep = ata_qc_prep, |
699 | .qc_issue = ata_qc_issue_prot, | 699 | .qc_issue = ata_qc_issue_prot, |
700 | .data_xfer = ata_pio_data_xfer, | 700 | .data_xfer = ata_data_xfer, |
701 | 701 | ||
702 | .irq_handler = ata_interrupt, | 702 | .irq_handler = ata_interrupt, |
703 | .irq_clear = ata_bmdma_irq_clear, | 703 | .irq_clear = ata_bmdma_irq_clear, |
@@ -728,7 +728,7 @@ static const struct ata_port_operations sis_old_ops = { | |||
728 | .bmdma_status = ata_bmdma_status, | 728 | .bmdma_status = ata_bmdma_status, |
729 | .qc_prep = ata_qc_prep, | 729 | .qc_prep = ata_qc_prep, |
730 | .qc_issue = ata_qc_issue_prot, | 730 | .qc_issue = ata_qc_issue_prot, |
731 | .data_xfer = ata_pio_data_xfer, | 731 | .data_xfer = ata_data_xfer, |
732 | 732 | ||
733 | .irq_handler = ata_interrupt, | 733 | .irq_handler = ata_interrupt, |
734 | .irq_clear = ata_bmdma_irq_clear, | 734 | .irq_clear = ata_bmdma_irq_clear, |