PCI: avoid early PCI mmconfig init if pci=noearly is given in cmdline
authorJacob Pan <jacob.jun.pan@intel.com>
Mon, 8 Dec 2008 17:44:16 +0000 (09:44 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:46 +0000 (11:12 -0800)
commit23a36002742bca87510201770a7d931c4aa63e97
tree58e640ba1a8ae6b01c57efdc72642bcc15ecdda9
parent0e331bf1c44401a5b6d7b778dd1f254724132dff
PCI: avoid early PCI mmconfig init if pci=noearly is given in cmdline

Early type 1 accesses can cause problems on some platforms, and
pci=noearly is supposed to prevent them from occurring.  However, early
mcfg probing code uses type 1 and  isn't protected by a check for
noearly.  This patch fixes that problem.

Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/init.c