patch-2.4.23 linux-2.4.23/include/asm-ppc64/pci.h

Next file: linux-2.4.23/include/asm-ppc64/unistd.h
Previous file: linux-2.4.23/include/asm-ppc64/elf.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ppc64/pci.h linux-2.4.23/include/asm-ppc64/pci.h
@@ -25,6 +25,12 @@
 #define PCIBIOS_MIN_IO		0x1000
 #define PCIBIOS_MIN_MEM		0x10000000
 
+/*
+ * ppc64 can have multifunction devices that do not respond to function 0.
+ * In this case we must scan all functions.
+ */
+#define pcibios_scan_all_fns()     1
+
 static inline void pcibios_set_master(struct pci_dev *dev)
 {
 	/* No special bus mastering setup handling */

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