summaryrefslogtreecommitdiff
path: root/drivers/uio/Makefile
diff options
context:
space:
mode:
authorHans J. Koch <hjk@linutronix.de>2009-01-06 23:15:39 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 23:38:24 (GMT)
commit8205779114e8f612549d191f8e151526a74ab9f2 (patch)
treefd26913320500193bd4078da0c164f9407aed47b /drivers/uio/Makefile
parent57fee4a58fe802272742caae248872c392a60670 (diff)
downloadlinux-8205779114e8f612549d191f8e151526a74ab9f2.tar.xz
UIO: Add name attributes for mappings and port regions
If a UIO device has several memory mappings, it can be difficult for userspace to find the right one. The situation becomes even worse if the UIO driver can handle different versions of a card that have different numbers of mappings. Benedikt Spranger has such cards and pointed this out to me. Thanks, Bene! To address this problem, this patch adds "name" sysfs attributes for each mapping. Userspace can use these to clearly identify each mapping. The name string is optional. If a driver doesn't set it, an empty string will be returned, so this patch won't break existing drivers. The same problem exists for port region information, so a "name" attribute is added there, too. Signed-off-by: Hans J. Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uio/Makefile')
0 files changed, 0 insertions, 0 deletions