root/include/asm-sparc/ioctls.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _ASM_SPARC_IOCTLS_H
   2 #define _ASM_SPARC_IOCTLS_H
   3 
   4 #include <asm/ioctl.h>
   5 
   6 /* Big T */
   7 #define TCGETA          _IOR('T', 1, struct termio)
   8 #define TCSETA          _IOW('T', 2, struct termio)
   9 #define TCSETAW         _IOW('T', 3, struct termio)
  10 #define TCSETAF         _IOW('T', 4, struct termio)
  11 #define TCSBRK          _IO('T', 5)
  12 #define TCXONC          _IO('T', 6)
  13 #define TCFLSH          _IO('T', 7)
  14 #define TCGETS          _IOR('T', 8, struct termios)
  15 #define TCSETS          _IOW('T', 9, struct termios)
  16 #define TCSETSW         _IOW('T', 10, struct termios)
  17 #define TCSETSF         _IOW('T', 11, struct termios)
  18 
  19 /* SCARY Rutgers local SunOS kernel hackery, perhaps I will support it
  20  * someday.  This is completely bogus, I know...
  21  */
  22 #define TCGETSTAT       _IO('T', 200) /* Rutgers specific */
  23 #define TCSETSTAT       _IO('T', 201) /* Rutgers specific */
  24 
  25 /* Little t */
  26 #define TIOCGETD        _IOR('t', 0, int)
  27 #define TIOCSETD        _IOW('t', 1, int)
  28 #define TIOCHPCL        _IO('t', 2) /* SunOS Specific */
  29 #define TIOCMODG        _IOR('t', 3, int) /* SunOS Specific */
  30 #define TIOCMODS        _IOW('t', 4, int) /* SunOS Specific */
  31 #define TIOCGETP        _IOR('t', 8, struct sgttyb) /* SunOS Specific */
  32 #define TIOCSETP        _IOW('t', 9, struct sgttyb) /* SunOS Specific */
  33 #define TIOCSETN        _IOW('t', 10, struct sgttyb) /* SunOS Specific */
  34 #define TIOCEXCL        _IO('t', 13)
  35 #define TIOCNXCL        _IO('t', 14)
  36 #define TIOCFLUSH       _IOW('t', 16, int) /* SunOS Specific */
  37 #define TIOCSETC        _IOW('t', 17, struct tchars) /* SunOS Specific */
  38 #define TIOCGETC        _IOR('t', 18, struct tchars) /* SunOS Specific */
  39 #define TIOCTCNTL       _IOW('t', 32, int) /* SunOS Specific */
  40 #define TIOCSIGNAL      _IOW('t', 33, int) /* SunOS Specific */
  41 #define TIOCSETX        _IOW('t', 34, int) /* SunOS Specific */
  42 #define TIOCGETX        _IOR('t', 35, int) /* SunOS Specific */
  43 #define TIOCCONS        _IO('t', 36)
  44 #define TIOCSSIZE       _IOW('t', 37, struct sunos_ttysize) /* SunOS Specific */
  45 #define TIOCGSIZE       _IOR('t', 38, struct sunos_ttysize) /* SunOS Specific */
  46 #define TIOCGSOFTCAR    _IOR('t', 100, int)
  47 #define TIOCSSOFTCAR    _IOW('t', 101, int)
  48 #define TIOCUCNTL       _IOW('t', 102, int) /* SunOS Specific */
  49 #define TIOCSWINSZ      _IOW('t', 103, struct winsize)
  50 #define TIOCGWINSZ      _IOR('t', 104, struct winsize)
  51 #define TIOCREMOTE      _IOW('t', 105, int) /* SunOS Specific */
  52 #define TIOCMGET        _IOR('t', 106, int)
  53 #define TIOCMBIC        _IOW('t', 107, int)
  54 #define TIOCMBIS        _IOW('t', 108, int)
  55 #define TIOCMSET        _IOW('t', 109, int)
  56 #define TIOCSTART       _IO('t', 110) /* SunOS Specific */
  57 #define TIOCSTOP        _IO('t', 111) /* SunOS Specific */
  58 #define TIOCPKT         _IOW('t', 112, int)
  59 #define TIOCNOTTY       _IO('t', 113)
  60 #define TIOCSTI         _IOW('t', 114, char)
  61 #define TIOCOUTQ        _IOR('t', 115, int)
  62 #define TIOCGLTC        _IOR('t', 116, struct ltchars) /* SunOS Specific */
  63 #define TIOCSLTC        _IOW('t', 117, struct ltchars) /* SunOS Specific */
  64 /* 118 is the non-posix setpgrp tty ioctl */
  65 /* 119 is the non-posix getpgrp tty ioctl */
  66 #define TIOCCDTR        _IO('t', 120) /* SunOS Specific */
  67 #define TIOCSDTR        _IO('t', 121) /* SunOS Specific */
  68 #define TIOCCBRK        _IO('t', 122) /* SunOS Specific */
  69 #define TIOCSBRK        _IO('t', 123) /* SunOS Specific */
  70 #define TIOCLGET        _IOW('t', 124, int) /* SunOS Specific */
  71 #define TIOCLSET        _IOW('t', 125, int) /* SunOS Specific */
  72 #define TIOCLBIC        _IOW('t', 126, int) /* SunOS Specific */
  73 #define TIOCLBIS        _IOW('t', 127, int) /* SunOS Specific */
  74 #define TIOCISPACE      _IOR('t', 128, int) /* SunOS Specific */
  75 #define TIOCISIZE       _IOR('t', 129, int) /* SunOS Specific */
  76 #define TIOCSPGRP       _IOW('t', 130, int)
  77 #define TIOCGPGRP       _IOR('t', 131, int)
  78 #define TIOCSCTTY       _IO('t', 132)
  79 
  80 /* Little f */
  81 #define FIOCLEX         _IO('f', 1)
  82 #define FIONCLEX        _IO('f', 2)
  83 #define FIOASYNC        _IOW('f', 125, int)
  84 #define FIONBIO         _IOW('f', 126, int)
  85 #define FIONREAD        _IOR('f', 127, int)
  86 #define TIOCINQ         FIONREAD
  87 
  88 /* Linux specific, no SunOS equivalent. */
  89 #define TIOCLINUX       0x541C
  90 #define TIOCGSERIAL     0x541E
  91 #define TIOCSSERIAL     0x541F
  92 #define TCSBRKP         0x5425
  93 #define TIOCTTYGSTRUCT  0x5426
  94 #define TIOCSERCONFIG   0x5453
  95 #define TIOCSERGWILD    0x5454
  96 #define TIOCSERSWILD    0x5455
  97 #define TIOCGLCKTRMIOS  0x5456
  98 #define TIOCSLCKTRMIOS  0x5457
  99 #define TIOCSERGSTRUCT  0x5458 /* For debugging only */
 100 #define TIOCSERGETLSR   0x5459 /* Get line status register */
 101 #define TIOCSERGETMULTI 0x545A /* Get multiport config  */
 102 #define TIOCSERSETMULTI 0x545B /* Set multiport config */
 103 
 104 /* Used for packet mode */
 105 #define TIOCPKT_DATA             0
 106 #define TIOCPKT_FLUSHREAD        1
 107 #define TIOCPKT_FLUSHWRITE       2
 108 #define TIOCPKT_STOP             4
 109 #define TIOCPKT_START            8
 110 #define TIOCPKT_NOSTOP          16
 111 #define TIOCPKT_DOSTOP          32
 112 
 113 #endif /* !(_ASM_SPARC_IOCTLS_H) */

/* [previous][next][first][last][top][bottom][index][help] */