• Raphael Assenat's avatar
    [SPARC64/COMPAT]: Add some compat ioctl for ppdev · e7270dec
    Raphael Assenat authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    e7270dec
Kconfig 19.8 KB