/* * include the ALL_xxx ioctl command definitions which all drivers should * support */ #include "sys/ioctl.ALL.h" #define IOCTYPE 0xff00 #define TIOC ('T'<<8) #define TCGETA (TIOC|1) #define TCSETA (TIOC|2) #define TCSETAW (TIOC|3) #define TCSETAF (TIOC|4) #define TCSBRK (TIOC|5) #define TCXONC (TIOC|6) #define TCFLSH (TIOC|7) #define MCGETA (TIOC|8) #define MCSETA (TIOC|9) #define MCSETAF (TIOC|10) #define MCSETAW (TIOC|11) #define MCGETT (TIOC|12) #define MCSETT (TIOC|13) #define TCDSET (TIOC|32) #define LDIOC ('D'<<8) #define LDOPEN (LDIOC|0) #define LDCLOSE (LDIOC|1) #define LDCHG (LDIOC|2) #define tIOC ('t'<<8) #define TIOCGETP (tIOC|8) #define TIOCSETP (tIOC|9) #define LIOC ('l'<<8) #define LIOCGETP (LIOC|1) #define LIOCSETP (LIOC|2) #define LIOCGETS (LIOC|5) #define LIOCSETS (LIOC|6) #define DIOC ('d'<<8) #define DIOCGETC (DIOC|1) #define DIOCGETB (DIOC|2) #define DIOCSETE (DIOC|3) #define VPM ('V'<<8) #define VPMCMD (VPM|8) #define VPMERRS (VPM|9) #define VPMRPT (VPM|10) #define VPMTRCO (VPM|16) #define FIONREAD (('f'<<8)|127) /* * sony disc driver specific ioctl defines: */ #define SONY ('s'<<8) #define SONY_READTRACK (SONY|1)