patch-2.3.15 linux/drivers/net/eql.c

Next file: linux/drivers/net/fc/Makefile
Previous file: linux/drivers/net/dlci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/net/eql.c linux/drivers/net/eql.c
@@ -427,7 +427,7 @@
 			srq.slave_name, srq.priority);
 #endif  
 	master_dev = dev;		/* for "clarity" */
-	slave_dev  = dev_get (srq.slave_name);
+	slave_dev  = __dev_get_by_name (srq.slave_name);
 
 	if (master_dev != 0 && slave_dev != 0)
 	{
@@ -481,7 +481,7 @@
 		printk ("%s: emancipate `%s`\n", dev->name, srq.slave_name);
 #endif
 	master_dev = dev;		/* for "clarity" */
-	slave_dev  = dev_get (srq.slave_name);
+	slave_dev  = __dev_get_by_name (srq.slave_name);
 
 	if ( eql_is_slave (slave_dev) )	/* really is a slave */
 	{
@@ -511,7 +511,7 @@
 		printk ("%s: get config for slave `%s'\n", dev->name, sc.slave_name);
 #endif
 	eql = (equalizer_t *) dev->priv;
-	slave_dev = dev_get (sc.slave_name);
+	slave_dev = __dev_get_by_name (sc.slave_name);
 
 	if ( eql_is_slave (slave_dev) )
 	{
@@ -549,7 +549,7 @@
   
 
 	eql = (equalizer_t *) dev->priv;
-	slave_dev = dev_get (sc.slave_name);
+	slave_dev = __dev_get_by_name (sc.slave_name);
 
 	if ( eql_is_slave (slave_dev) )
 	{

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