summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-22 15:57:59 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-22 15:57:59 +0200
commita0fe5cdea15bca52d3b101a88c11cb160ef08b2f (patch)
treee40e5d90ed013e33617931b049c5039e37a1f51f /apps
parentee18798c64c6e40433413b73bf07bbe027a9cc6e (diff)
downloadpcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.gz
pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.bz2
pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.xz
pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.zip
Documentation update
Diffstat (limited to 'apps')
-rw-r--r--apps/pio_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/pio_test.c b/apps/pio_test.c
index f211bf1..f2b73f7 100644
--- a/apps/pio_test.c
+++ b/apps/pio_test.c
@@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
exit(1);
}
- bar = pcilib_map_bar(pci, BAR);
+ bar = pcilib_resolve_bar_address(pci, BAR, 0);
if (!bar) {
pcilib_close(pci);
printf("map bar\n");
@@ -92,6 +92,5 @@ int main(int argc, char *argv[]) {
}
- pcilib_unmap_bar(pci, BAR, bar);
pcilib_close(pci);
}