From abb5590b297076f071b72f347d8d3204163e097b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 12 Feb 2011 02:08:28 +0000 Subject: [pci] Replace pci_max_bus() with pci_num_bus() Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi_pci.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include/ipxe/efi') 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; } /** -- cgit v1.1