PCI: Allow read/write access to sysfs I/O port resources
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 19 Jul 2010 15:45:34 +0000 (09:45 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:32:08 +0000 (09:32 -0700)
PCI sysfs resource files currently only allow mmap'ing.  On x86 this
works fine for memory backed BARs, but doesn't work at all for I/O
port backed BARs.  Add read/write to I/O port PCI sysfs resource
files to allow userspace access to these device regions.

Acked-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found