summaryrefslogtreecommitdiff
path: root/src/common_interface.c
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-04-19 05:17:54 (GMT)
committer Alan Coopersmith <alan.coopersmith@oracle.com>2012-04-24 02:37:41 (GMT)
commit9f2d95e61896f41adb8087fb805eb37899cce55f (patch) (side-by-side diff)
tree15cf432a3a3029a90a7141a8462512fd4f367ed9 /src/common_interface.c
parentd50292ca8cbbaa5e0c92627f3d7813194c7c83ac (diff)
downloadlibpciaccess-master.zip
libpciaccess-master.tar.gz
Solaris: refactor pci_device_solx_devfs_map_range to reduce code duplicationHEADmaster
The sparc & x86 cases were doing essentially the same things with different paths, so make the path setup be inside the platform specific #ifdefs, make the open, mmap, & error handling common code. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/common_interface.c') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions