pci: align ioport special case for x86 in read/write/unmap
authorDavid Marchand <david.marchand@6wind.com>
Tue, 15 Mar 2016 06:29:12 +0000 (07:29 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 20:20:37 +0000 (21:20 +0100)
commit1ce8221f37ec49434d9249a4ca25409ac4d114f7
tree7393dc68b254b826ff4b6b008bb9bef65ec14e72
parentfd5bc8ff7091053c05d7c2d07646964c09b85b3b
pci: align ioport special case for x86 in read/write/unmap

Commit b8eb345378bd ("pci: ignore devices already managed in Linux when
mapping x86 ioport") did not update other parts of the ioport api.

The application is not supposed to call these read/write/unmap ioport
functions if map call failed but I prefer aligning the code for the sake
of consistency.

Signed-off-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c