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/ata_piix.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/ata_piix.c')
-rw-r--r-- | drivers/ata/ata_piix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index c6bf1a338d1a..37fe6c2b8ca2 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -299,7 +299,7 @@ static const struct ata_port_operations piix_pata_ops = { | |||
299 | .bmdma_status = ata_bmdma_status, | 299 | .bmdma_status = ata_bmdma_status, |
300 | .qc_prep = ata_qc_prep, | 300 | .qc_prep = ata_qc_prep, |
301 | .qc_issue = ata_qc_issue_prot, | 301 | .qc_issue = ata_qc_issue_prot, |
302 | .data_xfer = ata_pio_data_xfer, | 302 | .data_xfer = ata_data_xfer, |
303 | 303 | ||
304 | .freeze = ata_bmdma_freeze, | 304 | .freeze = ata_bmdma_freeze, |
305 | .thaw = ata_bmdma_thaw, | 305 | .thaw = ata_bmdma_thaw, |
@@ -330,7 +330,7 @@ static const struct ata_port_operations ich_pata_ops = { | |||
330 | .bmdma_status = ata_bmdma_status, | 330 | .bmdma_status = ata_bmdma_status, |
331 | .qc_prep = ata_qc_prep, | 331 | .qc_prep = ata_qc_prep, |
332 | .qc_issue = ata_qc_issue_prot, | 332 | .qc_issue = ata_qc_issue_prot, |
333 | .data_xfer = ata_pio_data_xfer, | 333 | .data_xfer = ata_data_xfer, |
334 | 334 | ||
335 | .freeze = ata_bmdma_freeze, | 335 | .freeze = ata_bmdma_freeze, |
336 | .thaw = ata_bmdma_thaw, | 336 | .thaw = ata_bmdma_thaw, |
@@ -358,7 +358,7 @@ static const struct ata_port_operations piix_sata_ops = { | |||
358 | .bmdma_status = ata_bmdma_status, | 358 | .bmdma_status = ata_bmdma_status, |
359 | .qc_prep = ata_qc_prep, | 359 | .qc_prep = ata_qc_prep, |
360 | .qc_issue = ata_qc_issue_prot, | 360 | .qc_issue = ata_qc_issue_prot, |
361 | .data_xfer = ata_pio_data_xfer, | 361 | .data_xfer = ata_data_xfer, |
362 | 362 | ||
363 | .freeze = ata_bmdma_freeze, | 363 | .freeze = ata_bmdma_freeze, |
364 | .thaw = ata_bmdma_thaw, | 364 | .thaw = ata_bmdma_thaw, |