patch-2.4.0-test2 linux/drivers/acorn/net/etherh.c

Next file: linux/drivers/atm/Config.in
Previous file: linux/drivers/acorn/char/mouse_rpc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/acorn/net/etherh.c linux/drivers/acorn/net/etherh.c
@@ -621,8 +621,6 @@
 	if (load_8390_module("etherh.c"))
 		return -ENOSYS;
 
-	lock_8390_module();
-
 	ecard_startfind();
 
 	for (i = 0; i < MAX_ECARDS; i++) {
@@ -643,7 +641,7 @@
 	}
 
 	if (ret)
-		unlock_8390_module();
+		unload_8390_module();
 
 	return ret;
 }
@@ -665,7 +663,7 @@
 			e_card[i] = NULL;
 		}
 	}
-	unlock_8390_module();
+	unload_8390_module();
 }
 
 module_init(etherh_init);

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