kernel-fxtec-pro1x/drivers/uio
Hans J. Koch 8205779114 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>
2009-03-24 16:38:24 -07:00
..
Kconfig UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
Makefile UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio.c UIO: Add name attributes for mappings and port regions 2009-03-24 16:38:24 -07:00
uio_cif.c UIO: use pci_ioremap_bar() in drivers/uio 2009-01-06 10:44:43 -08:00
uio_pdrv.c UIO: Change driver name of uio_pdrv 2008-10-16 09:24:53 -07:00
uio_pdrv_genirq.c UIO: uio_pdrv_genirq: allow custom irq_flags 2009-01-06 10:44:43 -08:00
uio_sercos3.c UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio_smx.c UIO: Implement a UIO interface for the SMX Cryptengine 2008-04-19 19:10:18 -07:00