mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
8bc3372d9e
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: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 lines
321 B
C
12 lines
321 B
C
#ifndef __ARCH_CRIS_IOCTLS_H__
|
|
#define __ARCH_CRIS_IOCTLS_H__
|
|
|
|
#define TIOCSERGSTRUCT 0x5458 /* For debugging only */
|
|
#define TIOCSERSETRS485 0x5461 /* enable rs-485 (deprecated) */
|
|
#define TIOCSERWRRS485 0x5462 /* write rs-485 */
|
|
#define TIOCSRS485 0x5463 /* enable rs-485 */
|
|
|
|
#include <asm-generic/ioctls.h>
|
|
|
|
#endif
|