A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)

so init will work on serial consoles with 2.4.3+ kernels, thanks
to Fabrice Gautier <gautier@email.enst.fr> for finding this one.
 -Erik
This commit is contained in:
Eric Andersen committed 2001-04-23 15:14:11 +00:00
1 parent f5c358bc98
commit d8862928c2
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -278,7 +278,8 @@ static void set_term(int fd)
/* Make it be sane */
tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
tty.c_cflag |= HUPCL|CLOCAL;
tty.c_cflag |= CREAD|HUPCL|CLOCAL;
/* input modes */
tty.c_iflag = ICRNL | IXON | IXOFF;
+2 -1
View File
@@ -278,7 +278,8 @@ static void set_term(int fd)
/* Make it be sane */
tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
tty.c_cflag |= HUPCL|CLOCAL;
tty.c_cflag |= CREAD|HUPCL|CLOCAL;
/* input modes */
tty.c_iflag = ICRNL | IXON | IXOFF;