Searched hist:d89933497d2698c01ab25e2644807509ada43a7d (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | ahci.c | diff d89933497d2698c01ab25e2644807509ada43a7d Wed Mar 03 11:17:34 CST 2010 Anton Vorontsov <avorontsov@ru.mvista.com> ahci: Get rid of host->iomap usage
Currently the driver uses host->iomap to store all the iomapped BARs of a PCI device (while AHCI devices actually use just a single memory window).
We're going to teach AHCI to work with non-PCI buses, so there are two options to make this work:
1. "fake" host->iomap array for non-PCI devices, and place the needed address at iomap[AHCI_PCI_BAR]; 2. Get rid of host->iomap usage, instead introduce a private mmio field.
This patch implements the second option.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|