mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Back out the last patch. I'm too tired to apply patches.
This commit is contained in:
parent
02b485a4b8
commit
cde8638bc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49588
@ -204,10 +204,8 @@ tty_Raw(struct physical *p)
|
||||
else
|
||||
ios.c_cflag |= CLOCAL;
|
||||
|
||||
if (p->type != PHYS_DEDICATED) {
|
||||
if (p->type != PHYS_DEDICATED)
|
||||
ios.c_cflag |= HUPCL;
|
||||
ios.c_cflag &= ~CLOCAL;
|
||||
}
|
||||
|
||||
tcsetattr(p->fd, TCSANOW, &ios);
|
||||
}
|
||||
@ -412,10 +410,8 @@ tty_Create(struct physical *p)
|
||||
ios.c_iflag |= IXOFF;
|
||||
}
|
||||
ios.c_iflag |= IXON;
|
||||
if (p->type != PHYS_DEDICATED) {
|
||||
if (p->type != PHYS_DEDICATED)
|
||||
ios.c_cflag |= HUPCL;
|
||||
ios.c_cflag &= ~CLOCAL;
|
||||
}
|
||||
|
||||
if (p->type != PHYS_DIRECT) {
|
||||
/* Change tty speed when we're not in -direct mode */
|
||||
|
Loading…
Reference in New Issue
Block a user