patch-2.0.2 linux/drivers/char/serial.c
Next file: linux/drivers/net/lance32.c
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Jul 4 00:00:22 1996
- Orig file:
v2.0.1/linux/drivers/char/serial.c
- Orig date:
Wed Jul 3 22:05:08 1996
diff -u --recursive --new-file v2.0.1/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -2755,8 +2755,9 @@
serial_driver.type = TTY_DRIVER_TYPE_SERIAL;
serial_driver.subtype = SERIAL_TYPE_NORMAL;
serial_driver.init_termios = tty_std_termios;
- serial_driver.init_termios.c_lflag &=~ (ISIG | ICANON | ECHO);
- serial_driver.flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_RESET_TERMIOS;
+ serial_driver.init_termios.c_cflag =
+ B9600 | CS8 | CREAD | HUPCL | CLOCAL;
+ serial_driver.flags = TTY_DRIVER_REAL_RAW;
serial_driver.refcount = &serial_refcount;
serial_driver.table = serial_table;
serial_driver.termios = serial_termios;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov