bus/pci: fix config r/w access
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 1 Nov 2018 12:10:09 +0000 (12:10 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 01:11:25 +0000 (02:11 +0100)
commita38eafedda1de14c9fd7219e769e89e4aec92a45
tree8a2da88cd2e5b30a7ff300701968eb9ce9895219
parentb8d5dfd4a5f006794d85f93fc97134460ffbdfdf
bus/pci: fix config r/w access

The recent change to rte_pci_read/write_config() missed
uio_pci_generic case.

Fixes: 630deed612ca ("bus/pci: compare kernel driver instead of interrupt handler")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
drivers/bus/pci/linux/pci.c