• Jeff Mahoney's avatar
    ioctl: Use asm-generic/ioctls.h on cris (enables termiox) · 8bc3372d
    Jeff Mahoney authored
    This patch converts cris to use asm-generic/ioctls.h instead of its
    own version.
    
    The differences between the arch-specific version and the generic
    version are as follows:
    
    - CRIS defines two ioctls: TIOCSERSETRS485 and TIOCSERWRRS485,
      kept in arch-specific portion
    - CRIS defines a different value for TIOCSRS485, kept via ifndef in generic
    - The generic version adds support for termiox
    
    Cc: Mikael Starvik <starvik@axis.com>
    Cc: Jesper Nilsson <jesper.nilsson@axis.com>
    Signed-off-by: default avatarJeff Mahoney <jeffm@suse.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    8bc3372d
ioctls.h 321 Bytes