From: Alex Williamson Date: Mon, 19 Jul 2010 15:45:34 +0000 (-0600) Subject: PCI: Allow read/write access to sysfs I/O port resources X-Git-Tag: v2.6.36-rc1~518^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8633328be242677fdedc42052838dd0608e7f342;p=pandora-kernel.git 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 Signed-off-by: Alex Williamson Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed