david/ipxe
Archived
1
0

[efi] Rename efi_pci.h to efi_pci_api.h

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2011-02-14 01:37:44 +00:00
parent 4f4c214621
commit e2b5a58869
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#ifndef _IPXE_EFI_PCI_H #ifndef _IPXE_EFI_PCI_API_H
#define _IPXE_EFI_PCI_H #define _IPXE_EFI_PCI_API_H
/** @file /** @file
* *
@ -39,8 +39,8 @@ extern int efipci_write ( struct pci_device *pci, unsigned long location,
*/ */
static inline __always_inline int static inline __always_inline int
PCIAPI_INLINE ( efi, pci_num_bus ) ( void ) { PCIAPI_INLINE ( efi, pci_num_bus ) ( void ) {
/* No way to work this out via EFI */ /* EFI does not want us to scan the PCI bus ourselves */
return 0x100; return 0;
} }
/** /**
@ -145,4 +145,4 @@ PCIAPI_INLINE ( efi, pci_write_config_dword ) ( struct pci_device *pci,
value ); value );
} }
#endif /* _IPXE_EFI_PCI_H */ #endif /* _IPXE_EFI_PCI_API_H */

View File

@ -43,7 +43,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
PROVIDE_SINGLE_API_INLINE ( PCIAPI_PREFIX_ ## _subsys, _api_func ) PROVIDE_SINGLE_API_INLINE ( PCIAPI_PREFIX_ ## _subsys, _api_func )
/* Include all architecture-independent I/O API headers */ /* Include all architecture-independent I/O API headers */
#include <ipxe/efi/efi_pci.h> #include <ipxe/efi/efi_pci_api.h>
/* Include all architecture-dependent I/O API headers */ /* Include all architecture-dependent I/O API headers */
#include <bits/pci_io.h> #include <bits/pci_io.h>