patch-1.3.33 linux/drivers/char/tty_io.c
Next file: linux/drivers/char/vc_screen.c
Previous file: linux/drivers/char/tpqic02.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Tue Oct 10 10:27:28 1995
- Orig file:
v1.3.32/linux/drivers/char/tty_io.c
- Orig date:
Mon Sep 18 14:53:53 1995
diff -u --recursive --new-file v1.3.32/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -1777,7 +1777,7 @@
* Ok, now we can initialize the rest of the tty devices and can count
* on memory allocations, interrupts etc..
*/
-long tty_init(long kmem_start)
+int tty_init(void)
{
if (sizeof(struct tty_struct) > PAGE_SIZE)
panic("size of tty structure > PAGE_SIZE!");
@@ -1786,21 +1786,21 @@
if (register_chrdev(TTYAUX_MAJOR,"cua",&tty_fops))
panic("unable to get major %d for tty device", TTYAUX_MAJOR);
- kmem_start = kbd_init(kmem_start);
- kmem_start = rs_init(kmem_start);
+ kbd_init();
+ rs_init();
#ifdef CONFIG_SCC
- kmem_start = scc_init(kmem_start);
+ scc_init();
#endif
#ifdef CONFIG_CYCLADES
- kmem_start = cy_init(kmem_start);
+ cy_init();
#endif
#ifdef CONFIG_STALLION
- kmem_start = stl_init(kmem_start);
+ stl_init();
#endif
#ifdef CONFIG_ISTALLION
- kmem_start = stli_init(kmem_start);
+ stli_init();
#endif
- kmem_start = pty_init(kmem_start);
- kmem_start = vcs_init(kmem_start);
- return kmem_start;
+ pty_init();
+ vcs_init();
+ return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this