Skip to content
Commit 613e7ed6 authored by Yu Zhao's avatar Yu Zhao Committed by Jesse Barnes
Browse files

PCI: add a new function to map BAR offsets



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: default avatarYu Zhao <yu.zhao@intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 3789fa8a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment