patch-2.3.28 linux/drivers/net/setup.c

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

diff -u --recursive --new-file v2.3.27/linux/drivers/net/setup.c linux/drivers/net/setup.c
@@ -309,7 +309,7 @@
 		static struct net_device dummy_dev = {
 			"dummy" __PAD5, 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, dummy_init, 
 		};
-		register_netdev(&sb1000_dev);
+		register_netdev(&dummy_dev);
 	}
 #endif	
 #ifdef CONFIG_EQUALIZER
@@ -325,7 +325,7 @@
 			NULL,				/* next device */
 			eql_init			/* set up the rest */
 		};
-		register_netdev(&sb1000_dev);
+		register_netdev(&eql_dev);
 	}
 #endif	
 #ifdef CONFIG_APBIF
@@ -335,7 +335,7 @@
 		{
         		"bif" __PAD3, 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, bif_init 
         	};
-		register_netdev(&sb1000_dev);
+		register_netdev(&bif_dev);
         }
 #endif
 #ifdef CONFIG_NET_SB1000

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