Print this page
OS-2834 ship lx brand

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/termios.h
          +++ new/usr/src/uts/common/sys/termios.h
↓ open down ↓ 353 lines elided ↑ open up ↑
 354  354  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 355  355  #define TCSANOW         (_TIOC|14) /* same as TCSETS */
 356  356  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 357  357  #define TCSETSW         (_TIOC|15)
 358  358  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 359  359  #define TCSADRAIN       (_TIOC|15) /* same as TCSETSW */
 360  360  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 361  361  #define TCSETSF         (_TIOC|16)
 362  362  
 363  363  /*
      364 + * linux terminal ioctls we need to be aware of
      365 + */
      366 +#define TIOCSETLD       (_TIOC|123)     /* set line discipline parms */
      367 +#define TIOCGETLD       (_TIOC|124)     /* get line discipline parms */
      368 +
      369 +/*
      370 + * The VMIN and VTIME and solaris overlap with VEOF and VEOL - This is
      371 + * perfectly legal except, linux expects them to be separate. So we keep
      372 + * them separately.
      373 + */
      374 +struct lx_cc {
      375 +        unsigned char veof;     /* veof value */
      376 +        unsigned char veol;     /* veol value */
      377 +        unsigned char vmin;     /* vmin value */
      378 +        unsigned char vtime;    /* vtime value */
      379 +};
      380 +
      381 +/*
 364  382   * NTP PPS ioctls
 365  383   */
 366  384  #define TIOCGPPS        (_TIOC|125)
 367  385  #define TIOCSPPS        (_TIOC|126)
 368  386  #define TIOCGPPSEV      (_TIOC|127)
 369  387  
 370  388  /* Argument filled in by TIOCGPPSEV */
 371  389  struct ppsclockev {
 372  390          struct timeval tv;
 373  391          uint_t serial;
↓ open down ↓ 193 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX