]> git.itanic.dy.fi Git - linux-stable/commit
PCI/x86: detect host bridge config space size w/o using quirks
authorYinghai Lu <yinghai@kernel.org>
Mon, 9 Mar 2009 04:35:37 +0000 (21:35 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:17 +0000 (10:48 -0700)
commitdfadd9edff498d767008edc6b2a6e86a7a19934d
tree155d439bb862292307b88975bf11cfd9b78d7df2
parent745be2e700cdddd5da4e402854a484242c3628df
PCI/x86: detect host bridge config space size w/o using quirks

Many host bridges support a 4k config space, so check them directy
instead of using quirks to add them.

We only need to do this extra check for host bridges at this point,
because only host bridges are known to have extended address space
without also having a PCI-X/PCI-E caps.  Other devices with this
property could be done with quirks (if there are any).

As a bonus, we can remove the quirks for AMD host bridges with family
10h and 11h since they're not needed any more.

With this patch, we can get correct pci cfg size of new Intel CPUs/IOHs
with host bridges.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/fixup.c
drivers/pci/probe.c