summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-18 06:28:28 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-18 06:28:28 +0100
commite30eddc0aeb368814d2bbe0031e6b6ed768bdfcf (patch)
treedf52925dedd955f40b7f861fc223a9766ae3fe15 /pcilib/pci.h
parent815924bac97aed5e4b662d5aafeed9634b82af4a (diff)
downloadpcitool-e30eddc0aeb368814d2bbe0031e6b6ed768bdfcf.tar.gz
pcitool-e30eddc0aeb368814d2bbe0031e6b6ed768bdfcf.tar.bz2
pcitool-e30eddc0aeb368814d2bbe0031e6b6ed768bdfcf.tar.xz
pcitool-e30eddc0aeb368814d2bbe0031e6b6ed768bdfcf.zip
Enforce 64-bit dma mask from IPEDMA if supported
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index 50c6c0e..bf977fc 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -118,6 +118,8 @@ const pcilib_pcie_link_info_t *pcilib_get_pcie_link_info(pcilib_t *ctx);
int pcilib_map_register_space(pcilib_t *ctx);
int pcilib_map_data_space(pcilib_t *ctx, uintptr_t addr);
+int pcilib_set_dma_mask(pcilib_t *ctx, int mask);
+
#ifdef __cplusplus
}
#endif