summaryrefslogtreecommitdiffstats
path: root/lib/pci_iomap.c
Commit message (Collapse)AuthorAgeFilesLines
* pci: add pci_iomap_rangeMichael S. Tsirkin2015-01-211-5/+30
| | | | | | | | | | | Virtio drivers should map the part of the BAR they need, not necessarily all of it. Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: linux-pci@vger.kernel.org Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib: add NO_GENERIC_PCI_IOPORT_MAPMichael S. Tsirkin2012-01-311-1/+1
| | | | | | | | | | | Some architectures need to override the way IO port mapping is done on PCI devices. Supply a generic macro that calls ioport_map, and make it possible for architectures to override. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
* lib: add GENERIC_PCI_IOMAPMichael S. Tsirkin2011-11-281-0/+48
Many architectures want a generic pci_iomap but not the rest of iomap.c. Split that to a separate .c file and add a new config symbol. select automatically by GENERIC_IOMAP. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
OpenPOWER on IntegriCloud