diff options
| author | Michael Brown | 2011-02-12 03:08:28 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-02-17 02:25:11 +0100 |
| commit | abb5590b297076f071b72f347d8d3204163e097b (patch) | |
| tree | b526d735f41a850977edce756f8f7c1020d35ccd /src/arch/x86/core | |
| parent | [pci] Use single "busdevfn" field in struct pci_device (diff) | |
| download | ipxe-abb5590b297076f071b72f347d8d3204163e097b.tar.gz ipxe-abb5590b297076f071b72f347d8d3204163e097b.tar.xz ipxe-abb5590b297076f071b72f347d8d3204163e097b.zip | |
[pci] Replace pci_max_bus() with pci_num_bus()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/core')
| -rw-r--r-- | src/arch/x86/core/pcidirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/core/pcidirect.c b/src/arch/x86/core/pcidirect.c index ae74b7f15..a07f7d4ba 100644 --- a/src/arch/x86/core/pcidirect.c +++ b/src/arch/x86/core/pcidirect.c @@ -38,7 +38,7 @@ void pcidirect_prepare ( struct pci_device *pci, int where ) { PCIDIRECT_CONFIG_ADDRESS ); } -PROVIDE_PCIAPI_INLINE ( direct, pci_max_bus ); +PROVIDE_PCIAPI_INLINE ( direct, pci_num_bus ); PROVIDE_PCIAPI_INLINE ( direct, pci_read_config_byte ); PROVIDE_PCIAPI_INLINE ( direct, pci_read_config_word ); PROVIDE_PCIAPI_INLINE ( direct, pci_read_config_dword ); |
