diff options
| author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-22 15:57:59 +0200 | 
|---|---|---|
| committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-22 15:57:59 +0200 | 
| commit | a0fe5cdea15bca52d3b101a88c11cb160ef08b2f (patch) | |
| tree | e40e5d90ed013e33617931b049c5039e37a1f51f /apps | |
| parent | ee18798c64c6e40433413b73bf07bbe027a9cc6e (diff) | |
| download | pcitool-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.c | 3 | 
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);  } | 
