Okay.. i think that the problem is that sb_irq is not exported, so i
tried the attached patch, but with no success... any ideas?

thanks,
Christian
Index: target/linux/brcm-2.4/patches/001-bcm47xx.patch
===================================================================
--- target/linux/brcm-2.4/patches/001-bcm47xx.patch	(revision 1394)
+++ target/linux/brcm-2.4/patches/001-bcm47xx.patch	(working copy)
@@ -5575,7 +5575,7 @@
 +
 +O_TARGET        := bcm947xx.o
 +
-+export-objs     := nvram_linux.o setup.o
++export-objs     := nvram_linux.o setup.o sbmips.o
 +obj-y		:= prom.o setup.o time.o sbmips.o gpio.o
 +obj-y		+= nvram.o nvram_linux.o cfe_env.o
 +obj-$(CONFIG_PCI) += sbpci.o pcibios.o
@@ -6956,7 +6956,7 @@
 diff -Nur linux-2.4.32/arch/mips/bcm947xx/sbmips.c linux-2.4.32-freewrt/arch/mips/bcm947xx/sbmips.c
 --- linux-2.4.32/arch/mips/bcm947xx/sbmips.c	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.4.32-freewrt/arch/mips/bcm947xx/sbmips.c	2006-09-16 15:41:31.000000000 +0200
-@@ -0,0 +1,1033 @@
+@@ -0,0 +1,1035 @@
 +/*
 + * BCM47XX Sonics SiliconBackplane MIPS core routines
 + *
@@ -7254,6 +7254,8 @@
 +	return irq;
 +}
 +
++EXPORT_SYMBOL(sb_irq);
++
 +/* Clears the specified MIPS IRQ. */
 +static void 
 +BCMINITFN(sb_clearirq)(void *sbh, uint irq)
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to