]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbcf66b6cbe7ab6318be7affe716b2b257bc21df6
treef62b6c19f812b6f731dc90b3ae9989822b3749e6
parent944f5a083a405465c4c521e62cad9050075ef14f
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