diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/efi/efi_pci.h | 8 | ||||
-rw-r--r-- | src/include/ipxe/pci_io.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/include/ipxe/efi/efi_pci.h b/src/include/ipxe/efi/efi_pci.h index b280d80..e06473d 100644 --- a/src/include/ipxe/efi/efi_pci.h +++ b/src/include/ipxe/efi/efi_pci.h @@ -33,14 +33,14 @@ extern int efipci_write ( struct pci_device *pci, unsigned long location, unsigned long value ); /** - * Determine maximum PCI bus number within system + * Determine number of PCI buses within system * - * @ret max_bus Maximum bus number + * @ret num_bus Number of buses */ static inline __always_inline int -PCIAPI_INLINE ( efi, pci_max_bus ) ( void ) { +PCIAPI_INLINE ( efi, pci_num_bus ) ( void ) { /* No way to work this out via EFI */ - return 0xff; + return 0x100; } /** diff --git a/src/include/ipxe/pci_io.h b/src/include/ipxe/pci_io.h index 1188090..dab5b78 100644 --- a/src/include/ipxe/pci_io.h +++ b/src/include/ipxe/pci_io.h @@ -49,11 +49,11 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <bits/pci_io.h> /** - * Determine maximum PCI bus number within system + * Determine number of PCI buses within system * - * @ret max_bus Maximum bus number + * @ret num_bus Number of buses */ -int pci_max_bus ( void ); +int pci_num_bus ( void ); /** * Read byte from PCI configuration space |