pci: do not check BAR0 mapping
authorDavid Marchand <david.marchand@6wind.com>
Thu, 18 Jul 2013 08:02:36 +0000 (10:02 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:27 +0000 (11:07 +0100)
commit1a40263998fb964c62d3727001c10b5b62047c9f
tree43056bf0cac6ae635e05ab20a0ea2daa4d1cec38
parent1896b4ec5e7ad5089fa17120bebf17d5dea8f476
pci: do not check BAR0 mapping

Since DPDK 1.4, bars mapping is checked and prevent from initializing
drivers which do not use igb_uio mapping (see commit eee16c964cd).

There is no need to check for bars mapping, especially BAR0 is not required.
If bars mapping failed, then pci_uio_map_resource will fail and we won't reach
this check. So get rid of BAR0 check.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c