PCI: add a new function to map BAR offsets
authorYu Zhao <yu.zhao@intel.com>
Fri, 21 Nov 2008 18:41:27 +0000 (02:41 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:04 +0000 (11:13 -0800)
Add a function to map a given resource number to a corresponding
register so drivers can get the offset and type of device specific BARs.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found