diff options
Diffstat (limited to 'xorg-server/hw/xfree86/os-support/shared/posix_tty.c')
-rw-r--r-- | xorg-server/hw/xfree86/os-support/shared/posix_tty.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/xorg-server/hw/xfree86/os-support/shared/posix_tty.c b/xorg-server/hw/xfree86/os-support/shared/posix_tty.c index 002e3a275..316526bdc 100644 --- a/xorg-server/hw/xfree86/os-support/shared/posix_tty.c +++ b/xorg-server/hw/xfree86/os-support/shared/posix_tty.c @@ -114,9 +114,6 @@ GetBaud (int baudrate) _X_EXPORT int xf86OpenSerial (pointer options) { -#ifdef Lynx - struct sgttyb ms_sgtty; -#endif struct termios t; int fd, i; char *dev; @@ -155,12 +152,6 @@ xf86OpenSerial (pointer options) #endif } -#ifdef Lynx - /* LynxOS does not assert DTR without this */ - ioctl (fd, TIOCGETP, (char *) &ms_sgtty); - ioctl (fd, TIOCSDTR, (char *) &ms_sgtty); -#endif - /* set up default port parameters */ SYSCALL (tcgetattr (fd, &t)); t.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR\ @@ -343,7 +334,7 @@ xf86SetSerial (int fd, pointer options) if ((xf86SetBoolOption (options, "ClearDTR", FALSE))) { #ifdef CLEARDTR_SUPPORT -# if !defined(Lynx) || defined(TIOCMBIC) +# if defined(TIOCMBIC) val = TIOCM_DTR; SYSCALL (ioctl(fd, TIOCMBIC, &val)); # else |