https://github.com/torvalds/linux
Revision e7270dec080002d8aa18256c756af6c32331ef48 authored by Raphael Assenat on 04 July 2005, 20:23:45 UTC, committed by David S. Miller on 04 July 2005, 20:23:45 UTC
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>
1 parent 19f7241
History
Tip revision: e7270dec080002d8aa18256c756af6c32331ef48 authored by Raphael Assenat on 04 July 2005, 20:23:45 UTC
[SPARC64/COMPAT]: Add some compat ioctl for ppdev
Tip revision: e7270de

README

back to top