PCI: don't enable ASPM on devices with mixed PCIe/PCI functions
authorShaohua Li <shaohua.li@intel.com>
Wed, 21 May 2008 08:58:40 +0000 (16:58 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 22 May 2008 01:32:35 +0000 (18:32 -0700)
commitddc9753fcddfe5f9885dc133824962c047252b43
tree2abc621216e40328d4dc1d913217e3aedd929ec7
parentc1f69db782595a9869395dad4b60d331906c22ef
PCI: don't enable ASPM on devices with mixed PCIe/PCI functions

The Slot 03:00.* of JMicron controller has two functions, but one is
PCIE endpoint the other isn't PCIE device, very strange. PCIE spec
defines all functions should have the same config for ASPM, so disable
ASPM for the whole slot in this case.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aspm.c