patch-2.3.30 linux/drivers/net/tokenring/olympic.c
Next file: linux/drivers/net/tokenring/tms380tr.c
Previous file: linux/drivers/net/sk98lin/skge.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Nov 27 15:27:48 1999
- Orig file:
v2.3.29/linux/drivers/net/tokenring/olympic.c
- Orig date:
Mon Oct 11 15:38:15 1999
diff -u --recursive --new-file v2.3.29/linux/drivers/net/tokenring/olympic.c linux/drivers/net/tokenring/olympic.c
@@ -1614,10 +1614,7 @@
#if OLYMPIC_NETWORK_MONITOR
#ifdef CONFIG_PROC_FS
- struct proc_dir_entry *ent ;
-
- ent = create_proc_entry("net/olympic_tr",0,0);
- ent->read_proc = &olympic_proc_info ;
+ create_proc_read_entry("net/olympic_tr",0,0,olympic_proc_info,NULL);
#endif
#endif
for (i = 0; (i<OLYMPIC_MAX_ADAPTERS); i++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)