From: Hans J. Koch Date: Fri, 23 May 2008 11:50:14 +0000 (+0200) Subject: UIO: Add write function to allow irq masking X-Git-Tag: v2.6.27-rc1~866^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328a14e70e7f46997cb50d4258dd93d5377f98c6;p=pandora-kernel.git UIO: Add write function to allow irq masking Sometimes it is necessary to enable/disable the interrupt of a UIO device from the userspace part of the driver. With this patch, the UIO kernel driver can implement an "irqcontrol()" function that does this. Userspace can write an s32 value to /dev/uioX (usually 0 or 1 to turn the irq off or on). The UIO core will then call the driver's irqcontrol function. Signed-off-by: Hans J. Koch Acked-by: Uwe Kleine-König Acked-by: Magnus Damm Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed