commit | 8633328be242677fdedc42052838dd0608e7f342 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Mon Jul 19 09:45:34 2010 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Jul 30 09:32:08 2010 -0700 |
tree | 20b16af605298a1d05973d7ec2d0a479412ed3e6 | |
parent | 2491762cfb475dbdfa3db11ebea6de49f58b7fac [diff] |
PCI: Allow read/write access to sysfs I/O port resources 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>