Module ipx.o does not load with Linux 2.2.14 : PATCH

From: Chris Rankin (rankinc@zip.com.au)
Date: Sat Mar 04 2000 - 07:33:02 EST


Hi,

I noticed a while ago that the ipx.o module would not load under Linux
2.2.14. I have finally found time to track down the problem. Is this
in time for 2.2.15 :-) ?

Chris.

-- include/net/p8023.h -- CUT HERE -------------------------------
#ifndef _NET_P8023_H
#define _NET_P8023_H

struct datalink_proto;

extern struct datalink_proto *make_8023_client(void);
extern void destroy_8023_client(struct datalink_proto*);

#endif

-- include/net/pe2.h -- CUT HERE ---------------------------------
#ifndef _NET_PE2_H
#define _NET_PE2_H

struct datalink_proto;

struct datalink_proto* make_EII_client(void);
void destroy_EII_client(struct datalink_proto*);

#endif

-- CUT HERE ------------------------------------------------------
--- net/netsyms.c.orig Wed Jan 5 05:12:27 2000
+++ net/netsyms.c Sat Mar 4 22:02:12 2000
@@ -82,10 +82,8 @@
 extern int (*rarp_ioctl_hook)(int,void*);
 
 #ifdef CONFIG_IPX_MODULE
-extern struct datalink_proto *make_EII_client(void);
-extern struct datalink_proto *make_8023_client(void);
-extern void destroy_EII_client(struct datalink_proto *);
-extern void destroy_8023_client(struct datalink_proto *);
+#include <net/pe2.h>
+#include <net/p8023.h>
 #endif
 
 #ifdef CONFIG_ATALK_MODULE
--- net/ipx/af_ipx.c.orig Wed Oct 27 10:53:42 1999
+++ net/ipx/af_ipx.c Sat Mar 4 22:36:08 2000
@@ -93,6 +93,8 @@
 #include <linux/termios.h> /* For TIOCOUTQ/INQ */
 #include <linux/interrupt.h>
 #include <net/p8022.h>
+#include <net/p8023.h>
+#include <net/pe2.h>
 #include <net/psnap.h>
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
@@ -2415,11 +2417,6 @@
         0
 };
 
-
-extern struct datalink_proto *make_EII_client(void);
-extern struct datalink_proto *make_8023_client(void);
-extern void destroy_EII_client(struct datalink_proto *);
-extern void destroy_8023_client(struct datalink_proto *);
 
 #ifdef CONFIG_PROC_FS
 struct proc_dir_entry ipx_procinfo = {
--- net/802/p8023.c.orig Sat Mar 4 22:55:49 2000
+++ net/802/p8023.c Sat Mar 4 20:55:03 2000
@@ -16,6 +16,7 @@
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/datalink.h>
+#include <net/p8023.h>
 #include <linux/mm.h>
 #include <linux/in.h>
 
--- net/ethernet/pe2.c.orig Sat Mar 4 22:55:10 2000
+++ net/ethernet/pe2.c Sat Mar 4 20:57:18 2000
@@ -1,6 +1,7 @@
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/datalink.h>
+#include <net/pe2.h>
 #include <linux/mm.h>
 #include <linux/in.h>
 
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:27 EST