patch-2.4.8 linux/drivers/net/sk98lin/skproc.c

Next file: linux/drivers/net/starfire.c
Previous file: linux/drivers/net/sk98lin/skge.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/drivers/net/sk98lin/skproc.c linux/drivers/net/sk98lin/skproc.c
@@ -65,7 +65,7 @@
 				void *data);
 
 static const char SK_Root_Dir_entry[] = "sk98lin";
-extern struct net_device *root_dev;
+extern struct net_device *sk98lin_root_dev;
 
 
 struct proc_dir_entry pSkRootDir = { 
@@ -103,10 +103,10 @@
 	DEV_NET				*pNet;
 	SK_AC				*pAC;
 	char 				test_buf[100];
-	unsigned int			Flags;		
+	unsigned long			Flags;		
 	unsigned int			Size;
 	struct net_device 		*next;
-	struct net_device 		*SkgeProcDev = root_dev;
+	struct net_device 		*SkgeProcDev = sk98lin_root_dev;
 
 	SK_PNMI_STRUCT_DATA 	*pPnmiStruct;
 	SK_PNMI_STAT		*pPnmiStat;

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