]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86/PCI: Fix PCI config space for domains > 0
authorMatthew Wilcox <matthew@wil.cx>
Fri, 11 Jul 2008 21:21:17 +0000 (15:21 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 14 Jul 2008 21:23:28 +0000 (14:23 -0700)
commitbeef3129b3afb74817acff72fda4a9d951e3973e
treea2f462b777852aa5f4a0558dadd3390c64f32e62
parentf7a1b86095bf7fd1578ef54067545b9cb7084713
x86/PCI: Fix PCI config space for domains > 0

John Keller reports that PCI config space access is broken on machines
with more than one domain.  conf1 accesses only work for domain 0, so make sure
we check the domain number in the raw routines before trying conf1.

Reported-by: John Keller <jpk@sgi.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/common.c