OSDN Git Service

Fix IO access functions on linux+sysfs.
authorMarcin Ko?cielnicki <koriakin@0x04.net>
Wed, 5 Feb 2014 08:01:25 +0000 (09:01 +0100)
committerAdam Jackson <ajax@redhat.com>
Tue, 11 Feb 2014 18:07:19 +0000 (13:07 -0500)
commitb9c068896914b4132a24839c9ef7f9fcd6282d88
treeda6df0eb202767b5f47b1b8637e94049de8f4755
parentb29e9be9aff5c5a9ec5e2bcfc48044081b82742b
Fix IO access functions on linux+sysfs.

The offsets on the resourceX files are relative to BAR base - don't add
the base address ourselves.

Reviewed-by: Adam Jackson <ajax@redhat.com>
src/freebsd_pci.c
src/linux_sysfs.c
src/netbsd_pci.c
src/openbsd_pci.c
src/pciaccess_private.h
src/solx_devfs.c
src/x86_pci.c