]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Use standard #defines for PCIe Capability ASPM fields
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Dec 2012 06:40:07 +0000 (06:40 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 18 Jan 2013 12:54:59 +0000 (04:54 -0800)
commit22bf9b2c0f5b0034372a44ab7b3f95ac4b6c45af
tree92aba416877934e9dc3339477c3a05677882b6dc
parent7e1ebfdd52a444c7b5fc0d851bb43e1dc87716ac
e1000e: Use standard #defines for PCIe Capability ASPM fields

Use the standard #defines for PCIe Capability ASPM fields.

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>
CC: e1000-devel@lists.sourceforge.net
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c