diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-12-06 20:00:56 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-12-23 21:53:08 +0100 |
commit | 2f671e2dbff6eb5ef4e2600adbec550c13b8fe72 (patch) | |
tree | fb5debb042218dcf1cbdf11eb4d8d603208c219f /drivers/net/myri10ge/myri10ge.c | |
parent | PCI: Add mask bit definition for MSI-X table (diff) | |
download | linux-2f671e2dbff6eb5ef4e2600adbec550c13b8fe72.tar.xz linux-2f671e2dbff6eb5ef4e2600adbec550c13b8fe72.zip |
PCI: Disable ASPM if BIOS asks us to
We currently refuse to touch the ASPM registers if the BIOS tells us that
ASPM isn't supported. This can cause problems if the BIOS has (for any
reason) enabled ASPM on some devices anyway. Change the code such that we
explicitly clear ASPM if the FADT indicates that ASPM isn't supported,
and make sure we tidy up appropriately on device removal in order to deal
with the hotplug case. If ASPM is disabled because the BIOS doesn't hand
over control then we won't touch the registers.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
0 files changed, 0 insertions, 0 deletions