diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2010-07-19 19:45:34 +0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-07-30 20:32:08 +0400 |
commit | 8633328be242677fdedc42052838dd0608e7f342 (patch) | |
tree | 20b16af605298a1d05973d7ec2d0a479412ed3e6 /drivers/firmware | |
parent | 2491762cfb475dbdfa3db11ebea6de49f58b7fac (diff) | |
download | linux-8633328be242677fdedc42052838dd0608e7f342.tar.xz |
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>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions