pci: add pci_iomap_range
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 29 May 2013 02:22:21 +0000 (11:52 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:49 +0000 (16:28 +1030)
commiteb29d8d2aad70636ea23810b4868693673d630d5
treef62b6c19f812b6f731dc90b3ae9989822b3749e6
parent54cfe08b5f352d9aa4979e2434e85907c84af07a
pci: add pci_iomap_range

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>
include/asm-generic/pci_iomap.h
lib/pci_iomap.c