]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Add standard PCIe Capability Link ASPM field names
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 20:51:19 +0000 (13:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 7 Dec 2012 18:18:31 +0000 (11:18 -0700)
commit7508320678b7819ac6aeb89580b8622a424ce586
tree076a76febea9e199c50e04b1f37283d994b39b12
parent33e8b34fdd5640f3aa1597710352349cbc823374
PCI: Add standard PCIe Capability Link ASPM field names

Add standard #defines for ASPM fields in PCI Express Link Capability and
Link Control registers.

Previously we used PCIE_LINK_STATE_L0S and PCIE_LINK_STATE_L1 directly, but
these are defined for the Linux ASPM interfaces, e.g.,
pci_disable_link_state(), and only coincidentally match the actual register
bits.  PCIE_LINK_STATE_CLKPM, also part of that interface, does not match
the register bit.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
drivers/pci/pcie/aspm.c
include/uapi/linux/pci_regs.h