patch-1.3.37 linux/kernel/ksyms.c

Next file: linux/kernel/printk.c
Previous file: linux/include/net/ip.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.36/linux/kernel/ksyms.c linux/kernel/ksyms.c
@@ -37,6 +37,25 @@
 #include <linux/minix_fs.h>
 #include <linux/ext2_fs.h>
 
+#ifdef __alpha__
+# include <asm/io.h>
+# include <asm/hwrpb.h>
+
+extern void bcopy (const char *src, char *dst, int len);
+extern struct hwrpb_struct *hwrpb;
+
+/* these are C runtime functions with special calling conventions: */
+extern void __divl (void);
+extern void __reml (void);
+extern void __divq (void);
+extern void __remq (void);
+extern void __divlu (void);
+extern void __remlu (void);
+extern void __divqu (void);
+extern void __remqu (void);
+
+#endif
+
 #ifdef CONFIG_NET
 #include <linux/in.h>
 #include <linux/net.h>
@@ -78,6 +97,13 @@
 
 extern void *sys_call_table;
 
+#if	defined(CONFIG_ULTRA)	||	defined(CONFIG_WD80x3)		|| \
+	defined(CONFIG_EL2)	||	defined(CONFIG_NE2000)		|| \
+	defined(CONFIG_E2100)	||	defined(CONFIG_HPLAN_PLUS)	|| \
+	defined(CONFIG_HPLAN)	||	defined(CONFIG_AC3200)		
+#include "../drivers/net/8390.h"
+#endif
+
 #ifdef CONFIG_SCSI
 #include "../drivers/scsi/scsi.h"
 #include "../drivers/scsi/scsi_ioctl.h"
@@ -105,6 +131,31 @@
 	{ (void *)1 /* Version version :-) */,
 		SYMBOL_NAME_STR (Using_Versions) },
 #endif
+
+	/* platform dependent support */
+#ifdef __alpha__
+	X(inb),
+	X(inw),
+	X(inl),
+	X(outb),
+	X(outw),
+	X(outl),
+	X(bcopy),	/* generated by gcc-2.7.0 for string assignments */
+	X(hwrpb),
+	X(__divl),
+	X(__reml),
+	X(__divq),
+	X(__remq),
+	X(__divlu),
+	X(__remlu),
+	X(__divqu),
+	X(__remqu),
+	X(strlen),	/* used by ftape */
+	X(memcmp),
+	X(memmove),
+	X(__constant_c_memset),
+#endif
+
 	/* stackable module support */
 	X(rename_module_symbol),
 	X(register_symtab),
@@ -329,6 +380,17 @@
 	X(arp_send),
 #ifdef CONFIG_IP_FORWARD
 	X(ip_forward),
+#endif
+#if	defined(CONFIG_ULTRA)	||	defined(CONFIG_WD80x3)		|| \
+	defined(CONFIG_EL2)	||	defined(CONFIG_NE2000)		|| \
+	defined(CONFIG_E2100)	||	defined(CONFIG_HPLAN_PLUS)	|| \
+	defined(CONFIG_HPLAN)	||	defined(CONFIG_AC3200)		
+	/* If 8390 NIC support is built in, we will need these. */
+	X(ei_open),
+	X(ei_debug),
+	X(ei_interrupt),
+	X(ethdev_init),
+	X(NS8390_init),
 #endif
 #if defined(CONFIG_PPP) || defined(CONFIG_SLIP)
     	/* VJ header compression */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this