patch-2.4.6 linux/include/asm-i386/pci.h

Next file: linux/include/asm-i386/socket.h
Previous file: linux/include/asm-i386/mca_dma.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/include/asm-i386/pci.h linux/include/asm-i386/pci.h
@@ -1,13 +1,19 @@
 #ifndef __i386_PCI_H
 #define __i386_PCI_H
 
+#include <linux/config.h>
+
 #ifdef __KERNEL__
 
 /* Can be used to override the logic in pci_scan_bus for skipping
    already-configured bus numbers - to be used for buggy BIOSes
    or architectures with incomplete PCI setup by the loader */
 
+#ifdef CONFIG_PCI
+extern unsigned int pcibios_assign_all_busses(void);
+#else
 #define pcibios_assign_all_busses()	0
+#endif
 
 extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_IO		0x1000

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)