From a0fe5cdea15bca52d3b101a88c11cb160ef08b2f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Oct 2015 15:57:59 +0200 Subject: Documentation update --- apps/pio_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps') 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); } -- cgit v1.2.3