]> git.neil.brown.name Git - history.git/commit
[PATCH] PCI Scan all functions
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:50:09 +0000 (18:50 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:50:09 +0000 (18:50 -0800)
commit04ab7a5e93433f77506f1ec80489490647010333
tree4feb3e8e9e92afe5c7f5c81be1f12d0aa52b31df
parent48ceccc134ccbd42007b34589e94a908794b5f14
[PATCH] PCI Scan all functions

From: Jake Moilanen <moilanen@austin.ibm.com>

On a ppc64 logically partitioned system, there can be a setup where function
0 of a PCI-PCI bridge is assigned to one partition and (for example) function
2 is assigned to a second partition.  On the second partition, it would
appear that function 0 does not exist, but function 2 does.  If all the
functions are not scanned, everything under function 2 would not be detected.

This patch allows devices that don't respond to function 0, but do respond to
other functions to be marked with a quirk and have all of their functions
scanned.
21 files changed:
arch/ppc64/kernel/pSeries_pci.c
drivers/pci/probe.c
include/asm-alpha/pci.h
include/asm-arm/pci.h
include/asm-arm26/pci.h
include/asm-generic/pci.h
include/asm-h8300/pci.h
include/asm-i386/pci.h
include/asm-ia64/pci.h
include/asm-m68k/pci.h
include/asm-m68knommu/pci.h
include/asm-mips/pci.h
include/asm-parisc/pci.h
include/asm-ppc/pci.h
include/asm-ppc64/pci.h
include/asm-sh/pci.h
include/asm-sparc/pci.h
include/asm-sparc64/pci.h
include/asm-um/pci.h
include/asm-v850/pci.h
include/asm-x86_64/pci.h