]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SPARC64/COMPAT]: Add some compat ioctl for ppdev
authorRaphael Assenat <raph@raphnet.net>
Mon, 4 Jul 2005 20:23:45 +0000 (13:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2005 20:23:45 +0000 (13:23 -0700)
commite7270dec080002d8aa18256c756af6c32331ef48
tree5f00f1e682b1423d9fcb31500a53c598dbba7e0a
parent19f7241a3b087bbf4dd107c979608fdb56c83a09
[SPARC64/COMPAT]: Add some compat ioctl for ppdev

The following patch adds some ioctls to include/linux/compat_ioctl.h
to allow using ppdev from the 32 bit user space on sparc64.

This patch also adds the PPDEV option in the sparc64 menu, near Parallel
printer support in the 'General machine setup' submenu.

All those ioctls seem to be compatible, since (correct me if I'm wrong)
they dont use the 'long' type. See include/linux/ppdev.h.

The application I used to test the new ioctls only used the following:
PPEXCL
PPCLAIM
PPNEGOT
PPGETMODES
PPRCONTROL
PPWCONTROL
PPDATADIR
PPWDATA
PPRDATA

But I beleive that the other ioctls will work fine.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/Kconfig
include/linux/compat_ioctl.h