patch-2.3.24 linux/drivers/net/ppp_generic.c

Next file: linux/drivers/net/ppp_synctty.c
Previous file: linux/drivers/net/pcmcia/ray_cs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.23/linux/drivers/net/ppp_generic.c linux/drivers/net/ppp_generic.c
@@ -561,6 +561,7 @@
 #ifndef MODULE
 	extern struct compressor ppp_deflate, ppp_deflate_draft;
 	extern int ppp_async_init(void);
+	extern int ppp_sync_init(void);
 #endif
 
 	printk(KERN_INFO "PPP generic driver version " PPP_VERSION "\n");
@@ -570,6 +571,9 @@
 #ifndef MODULE
 #ifdef CONFIG_PPP_ASYNC
 	ppp_async_init();
+#endif
+#ifdef CONFIG_PPP_SYNC_TTY
+	ppp_sync_init();
 #endif
 #ifdef CONFIG_PPP_DEFLATE
 	if (ppp_register_compressor(&ppp_deflate) == 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)