patch-2.3.40 linux/drivers/char/tty_io.c
Next file: linux/drivers/char/vc_screen.c
Previous file: linux/drivers/char/radio-cadet.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jan 20 10:44:46 2000
- Orig file:
v2.3.39/linux/drivers/char/tty_io.c
- Orig date:
Fri Oct 22 13:21:48 1999
diff -u --recursive --new-file v2.3.39/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -344,7 +344,7 @@
return cmd == TIOCSPGRP ? -ENOTTY : -EIO;
}
-static long long tty_lseek(struct file * file, long long offset, int orig)
+static loff_t tty_lseek(struct file * file, loff_t offset, int orig)
{
return -ESPIPE;
}
@@ -2216,6 +2216,12 @@
rs_8xx_init();
#endif /* CONFIG_8xx */
pty_init();
+#ifdef CONFIG_MOXA_SMARTIO
+ mxser_init();
+#endif
+#ifdef CONFIG_MOXA_INTELLIO
+ moxa_init();
+#endif
#ifdef CONFIG_VT
vcs_init();
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)