drivers/pci: Create pci_map_bar function
authorBecky Bruce <beckyb@kernel.crashing.org>
Wed, 4 Feb 2009 00:10:50 +0000 (18:10 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 9 Feb 2009 23:27:13 +0000 (00:27 +0100)
commit6e61fae4d360a1380b63e7d007b31477e366bcce
tree4cbd95c1652fa3aad0ceb4a7956b33489a569bf6
parent2ecca3401775b125c3b9ff65766befb23989414b
drivers/pci: Create pci_map_bar function

It is no longer always true that the pci bus address can be
used as the virtual address for pci accesses.  pci_map_bar()
is created to return the virtual address for a pci region.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
drivers/pci/pci.c
include/pci.h