Rahul Lakkireddy d9d4b291ba pci: fix config space access on FreeBSD
PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail
with EPERM due to missing write permission.  Fix by opening /dev/pci/
with O_RDWR instead.

Fixes: 632b2d1deeed ("eal: provide functions to access PCI config")

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
2016-06-15 17:13:55 +02:00
..
2016-06-07 10:02:39 +02:00
2016-06-29 13:33:01 +02:00
2016-06-24 11:01:05 +02:00
2016-06-27 16:50:27 +02:00
2016-06-27 12:28:10 +02:00
2016-05-16 14:17:41 +02:00
2016-06-14 17:24:15 +02:00
2015-08-03 12:43:01 +02:00