patch-2.1.132 linux/net/core/dev.c

Next file: linux/net/decnet/README
Previous file: linux/net/bridge/br_tree.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/net/core/dev.c linux/net/core/dev.c
@@ -1897,9 +1897,6 @@
 	 * Some devices want to be initialized early..
 	 */
 
-#if defined(CONFIG_LANCE)
-	lance_init();
-#endif
 #if defined(CONFIG_SCC)
 	scc_init();
 #endif
@@ -1937,11 +1934,14 @@
 	 *	SLHC if present needs attaching so other people see it
 	 *	even if not opened.
 	 */
+	 
+#ifdef CONFIG_INET	 
 #if (defined(CONFIG_SLIP) && defined(CONFIG_SLIP_COMPRESSED)) \
 	 || defined(CONFIG_PPP) \
     || (defined(CONFIG_ISDN) && defined(CONFIG_ISDN_PPP))
 	slhc_install();
 #endif	
+#endif
 
 #ifdef CONFIG_NET_PROFILE
 	net_profile_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov