diff options
author | root <root@artemis.panaceas.org> | 2015-12-25 15:00:15 +0000 |
---|---|---|
committer | root <root@artemis.panaceas.org> | 2015-12-25 15:00:15 +0000 |
commit | ddd86436f4e3643c04b797f858dab95d5f2e4de9 (patch) | |
tree | bfe7a780cf9a2f4fc33aec32c82e625e79dece1f /backport-include/linux/pci-aspm.h | |
download | backports-3.10.19-1-ddd86436f4e3643c04b797f858dab95d5f2e4de9.tar.gz backports-3.10.19-1-ddd86436f4e3643c04b797f858dab95d5f2e4de9.tar.bz2 backports-3.10.19-1-ddd86436f4e3643c04b797f858dab95d5f2e4de9.zip |
Diffstat (limited to 'backport-include/linux/pci-aspm.h')
-rw-r--r-- | backport-include/linux/pci-aspm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backport-include/linux/pci-aspm.h b/backport-include/linux/pci-aspm.h new file mode 100644 index 0000000..367112e --- /dev/null +++ b/backport-include/linux/pci-aspm.h @@ -0,0 +1,15 @@ +#include <linux/version.h> + +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) +#include_next <linux/pci-aspm.h> +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */ + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) +#define PCIE_LINK_STATE_L0S 1 +#define PCIE_LINK_STATE_L1 2 +#define PCIE_LINK_STATE_CLKPM 4 + +static inline void pci_disable_link_state(struct pci_dev *pdev, int state) +{ +} +#endif |