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
- Lines: 13
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-ppc64/pci.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
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)