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