pci: merge uio functions for linux and bsd
authorTetsuya Mukawa <mukawa@igel.co.jp>
Wed, 8 Jul 2015 10:34:51 +0000 (19:34 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jul 2015 21:50:22 +0000 (23:50 +0200)
commit9b957f378abf597f1a32dd99dbc07706563898c1
treedef4a57ffad063da46ac9eb0005eb0c4d846a0e5
parent9f1b81c0996e677670ca4bead22a8d51bf43bf0c
pci: merge uio functions for linux and bsd

The patch consolidates below functions, and implement these
in eal_common_pci_uio.c.
 - pci_uio_map_secondary()
 - pci_uio_map_resource()
 - pci_uio_unmap()
 - pci_uio_find_resource()
 - pci_uio_unmap_resource()

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h
lib/librte_eal/common/eal_common_pci_uio.c [new file with mode: 0644]
lib/librte_eal/common/eal_private.h
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal_pci_init.h
lib/librte_eal/linuxapp/eal/eal_pci_uio.c