commit | cbbdcf2c821fb2c4b1519f1ecafe31f5816d0f0a | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Oct 01 13:13:29 2011 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Oct 13 23:20:16 2011 -0400 |
tree | 58995836dd033ad0cf2297c567ed1b0e34228671 | |
parent | 5bab7e6fea78334a2564b6e5be7363f47dd0092b [diff] |
Use pci->header_type in pci_bar() to avoid unnecessary pci_config_readb. Pass a 'struct pci_device' into pci_bar and update all callers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>