From: Jacob Pan Date: Fri, 14 May 2010 21:41:14 +0000 (-0700) Subject: x86, mrst, pci: return 0 for non-present pci bars X-Git-Tag: v2.6.35-rc1~509^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4af4268a34d8cd28c46a03161fc017cbd2db887;p=pandora-kernel.git x86, mrst, pci: return 0 for non-present pci bars Moorestown PCI code has special handling of devices with fixed BARs. In case of BAR sizing writes, we need to update the fake PCI MMCFG space with real size decode value. When a BAR is not present, we need to return 0 instead of ~0. ~0 will be treated as device error per bugzilla 12006. Signed-off-by: Jacob Pan LKML-Reference: <1273873281-17489-2-git-send-email-jacob.jun.pan@linux.intel.com> Acked-by: Jesse Barnes Acked-by: Thomas Gleixner Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed