linux-stable/Documentation
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
..
ABI Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-02-26 14:43:42 -08:00
accounting
acpi
aoe
arm
auxdisplay
blackfin
block block: add text file detailing queue/ sysfs files 2009-02-02 13:02:31 +01:00
blockdev
cdrom
cgroups cpuset: various documentation fixes and updates 2009-02-20 17:57:49 -08:00
connector Documentation/connector/cn_test.c: don't use gfp_any() 2009-02-12 16:47:01 -08:00
console
cpu-freq ACPI: cpufreq: Remove deprecated /proc/acpi/processor/../performance proc entries 2009-02-04 00:12:24 -05:00
cpuidle
cris
crypto
development-process
device-mapper
DocBook UIO: Add name attributes for mappings and port regions 2009-03-24 16:38:24 -07:00
driver-model PATCH [1/2] Documentation/driver-model/device.txt: fix struct device_attribute 2009-02-22 09:27:15 -08:00
dvb V4L/DVB (10696): Remove outdated README for the flexcop-driver 2009-02-26 22:29:19 -03:00
early-userspace
fault-injection
fb
filesystems trivial: fix orphan dates in ext2 documentation 2009-03-23 14:21:26 -07:00
firmware_class
frv
hwmon hwmon: (lm90) Document support for the MAX6648/6692 chips 2009-03-12 13:36:38 +01:00
i2c
i2o
ia64
ide
infiniband
input
ioctl
isdn
ja_JP Sync patch for jp_JP/stable_kernel_rules.txt 2009-01-28 15:55:48 -08:00
kbuild
kdump
ko_KR
laptops
lguest lguest: disable the FORTIFY for lguest. 2009-01-30 11:34:10 +10:30
m68k
make
mips
mn10300
mtd
namespaces
netlabel
networking IPv6: add "disable" module parameter support to ipv6.ko 2009-03-04 03:19:08 -08:00
parisc
PCI PCI: Documentation: fix minor PCIe HOWTO thinko 2009-02-13 13:59:19 -08:00
pcmcia
power
powerpc powerpc/5200: update device tree binding documentation 2009-01-30 08:23:33 -07:00
prctl
RCU rcu: documentation 1Q09 update 2009-03-10 15:55:11 -07:00
s390
scheduler
scsi [SCSI] cxgb3i: Fix spelling errors in documentation 2009-02-21 20:29:37 -06:00
serial
sh
sound
sparc
spi
sysctl
telephony
thermal
timers
tracers doc: mmiotrace.txt, buffer size control change 2009-02-15 20:05:13 +01:00
uml
usb Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
video4linux V4L/DVB (10210): Fix a bug on v4lgrab.c 2009-01-29 08:35:37 -02:00
vm
w1
watchdog
wimax
x86
zh_CN
00-INDEX
applying-patches.txt
atomic_ops.txt
bad_memory.txt
basic_profiling.txt
binfmt_misc.txt
braille-console.txt
bt8xxgpio.txt
BUG-HUNTING
c2port.txt
cachetlb.txt
Changes Documentation/Changes: add required versions for new filesystems 2009-01-29 18:19:30 -08:00
CodingStyle fix emacs indenting howto filename expansion 2009-01-29 18:19:29 -08:00
cpu-hotplug.txt
cpu-load.txt
cputopology.txt
credentials.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
devices.txt
DMA-API.txt Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
DMA-attributes.txt
DMA-ISA-LPC.txt
DMA-mapping.txt
dmaengine.txt
dontdiff
edac.txt
eisa.txt
email-clients.txt
exception.txt
feature-removal-schedule.txt [CPUFREQ] Add p4-clockmod sysfs-ui removal to feature-removal schedule. 2009-03-09 15:14:37 -04:00
ftrace.txt
gpio.txt
highuid.txt
HOWTO
hw_random.txt
ics932s401
initrd.txt
Intel-IOMMU.txt
IO-mapping.txt Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
io-mapping.txt
io_ordering.txt
iostats.txt
IPMI.txt
IRQ-affinity.txt
IRQ.txt
irqflags-tracing.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt kernel-doc: preferred ending marker and examples 2009-02-11 14:25:36 -08:00
kernel-docs.txt
kernel-parameters.txt Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-02-27 16:43:05 -08:00
keys-request-key.txt
keys.txt
kobject.txt
kprobes.txt
kref.txt
ldm.txt
leds-class.txt
local_ops.txt
lockdep-design.txt
lockstat.txt
logo.svg linux.conf.au 2009: Tuz 2009-03-16 07:55:37 -07:00
logo.txt linux.conf.au 2009: Tuz 2009-03-16 07:55:37 -07:00
magic-number.txt
Makefile
ManagementStyle
markers.txt
mca.txt
md.txt
memory-barriers.txt
memory-hotplug.txt
memory.txt
mono.txt
mutex-design.txt
nmi_watchdog.txt
nommu-mmap.txt
numastat.txt
oops-tracing.txt
parport-lowlevel.txt
parport.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
printk-formats.txt
prio_tree.txt
rbtree.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rt-mutex-design.txt
rt-mutex.txt
rtc.txt
SAK.txt
SecurityBugs
SELinux.txt
serial-console.txt
sgi-ioc4.txt
sgi-visws.txt
SM501.txt
Smack.txt
sparse.txt
spinlocks.txt
stable_api_nonsense.txt
stable_kernel_rules.txt
SubmitChecklist
SubmittingDrivers
SubmittingPatches
svga.txt
sysfs-rules.txt
sysrq.txt
tracepoints.txt
unaligned-memory-access.txt
unicode.txt
unshare.txt
VGA-softcursor.txt
video-output.txt
volatile-considered-harmful.txt
voyager.txt
zorro.txt