summaryrefslogtreecommitdiffstats
path: root/driver/compat.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-19 03:19:51 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-19 03:19:51 +0100
commit6191a86bf2de5413cc9100e1450b541e5dfcb8f9 (patch)
treec4edeb5e91aa4098c55d01a00f2d292d0635ae61 /driver/compat.h
parent46754246bddd1c15d61e915bd860448bab8d7400 (diff)
downloadpcitool-6191a86bf2de5413cc9100e1450b541e5dfcb8f9.tar.gz
pcitool-6191a86bf2de5413cc9100e1450b541e5dfcb8f9.tar.bz2
pcitool-6191a86bf2de5413cc9100e1450b541e5dfcb8f9.tar.xz
pcitool-6191a86bf2de5413cc9100e1450b541e5dfcb8f9.zip
Support setting payload size
Diffstat (limited to 'driver/compat.h')
-rw-r--r--driver/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/compat.h b/driver/compat.h
index 25e402a..fd3f188 100644
--- a/driver/compat.h
+++ b/driver/compat.h
@@ -195,4 +195,7 @@ static inline void set_pages_reserved_compat(unsigned long cpua, unsigned long s
#endif
}
+int pcidriver_pcie_get_mps(struct pci_dev *dev);
+int pcidriver_pcie_set_mps(struct pci_dev *dev, int mps);
+
#endif