ia64/xen-unstable
changeset 14386:8cd8e9e4e1ad
linux: No need to force pcibios_scan_all_fns() on modern Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Tue Mar 13 13:28:26 2007 +0000 (2007-03-13) |
parents | 7c0d7736f960 |
children | 40a6e2280d7b |
files | linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h |
line diff
1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h Tue Mar 13 10:32:52 2007 +0000 1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h Tue Mar 13 13:28:26 2007 +0000 1.3 @@ -143,11 +143,4 @@ static inline void pci_dma_burst_advice( 1.4 /* generic pci stuff */ 1.5 #include <asm-generic/pci.h> 1.6 1.7 -/* On Xen we have to scan all functions since Xen hides bridges from 1.8 - * us. If a bridge is at fn=0 and that slot has a multifunction 1.9 - * device, we won't find the additional devices without scanning all 1.10 - * functions. */ 1.11 -#undef pcibios_scan_all_fns 1.12 -#define pcibios_scan_all_fns(a, b) 1 1.13 - 1.14 #endif /* __i386_PCI_H */
2.1 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h Tue Mar 13 10:32:52 2007 +0000 2.2 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h Tue Mar 13 13:28:26 2007 +0000 2.3 @@ -163,11 +163,4 @@ static inline void pcibios_add_platform_ 2.4 #include <asm-generic/pci.h> 2.5 #endif 2.6 2.7 -/* On Xen we have to scan all functions since Xen hides bridges from 2.8 - * us. If a bridge is at fn=0 and that slot has a multifunction 2.9 - * device, we won't find the additional devices without scanning all 2.10 - * functions. */ 2.11 -#undef pcibios_scan_all_fns 2.12 -#define pcibios_scan_all_fns(a, b) 1 2.13 - 2.14 #endif /* __x8664_PCI_H */