diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-23 15:14:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-23 15:14:11 +0000 |
commit | d8862928c25be9b00f6755cf445773cd1e4cc22a (patch) | |
tree | b5218aaa9bc0c4bd755685fe4bb9292b6da017fc /init/init.c | |
parent | f5c358bc9832733fcba16ec24b38c67c7b62ab85 (diff) |
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
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 22bedd9ba..d65220cdd 100644 --- a/init/init.c +++ b/init/init.c @@ -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; |