diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-07-28 21:38:59 +0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-07-29 01:28:53 +0400 |
commit | 6ac665c63dcac8fcec534a1d224ecbb8b867ad59 (patch) | |
tree | c331b97a2a7a5dfc6353f2538e5fd66a0d9a854d /lib | |
parent | 37139074233a5bbec54ae01ab580e5788a248cc3 (diff) | |
download | linux-6ac665c63dcac8fcec534a1d224ecbb8b867ad59.tar.xz |
PCI: rewrite PCI BAR reading code
Factor out the code to read one BAR from the loop in pci_read_bases into
a new function, __pci_read_base. The new code is slightly more
readable, better commented and removes the ifdef.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions