patch-2.4.0-test11 linux/drivers/net/oaknet.c
Next file: linux/drivers/net/pcmcia/Config.in
Previous file: linux/drivers/net/ne3210.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Tue Nov 7 10:59:42 2000
- Orig file:
v2.4.0-test10/linux/drivers/net/oaknet.c
- Orig date:
Mon Jun 19 13:30:56 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/net/oaknet.c linux/drivers/net/oaknet.c
@@ -664,25 +664,10 @@
*/
static int __init oaknet_init_module (void)
{
- int status;
-
- /*
- * We're dependent on the 8390 generic driver module, make
- * sure its symbols are loaded.
- */
-
- if (load_8390_module("oaknet.c"))
- return (-ENOSYS);
-
if (oaknet_devs != NULL)
return (-EBUSY);
- status = oaknet_init()
-
- if (status != 0)
- unload_8390_module();
-
- return (status);
+ return (oaknet_init());
}
/*
@@ -704,7 +689,6 @@
oaknet_devs = NULL;
- unload_8390_module();
}
module_init(oaknet_init_module);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)