Hi Ralf,
I have been playing with a bcm1250 from broadcom. These are patches I
needed to get things to compile correctly. After applying the to patches
above I can build fine.
thanks,
peter
Signed-off-by: Peter Buckingham <peter@pantasys.com>
Index: arch/mips/sibyte/sb1250/prom.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/sibyte/sb1250/prom.c,v
retrieving revision 1.9
diff -p -u -r1.9 prom.c
--- arch/mips/sibyte/sb1250/prom.c 28 Jan 2004 22:16:39 -0000 1.9
+++ arch/mips/sibyte/sb1250/prom.c 9 Sep 2004 18:42:13 -0000
@@ -29,6 +29,7 @@
#ifdef CONFIG_EMBEDDED_RAMDISK
/* These are symbols defined by the ramdisk linker script */
+extern unsigned long initrd_start, initrd_end;
extern unsigned char __rd_start;
extern unsigned char __rd_end;
#endif
Index: arch/mips/sibyte/swarm/setup.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/sibyte/swarm/setup.c,v
retrieving revision 1.31
diff -p -u -r1.31 setup.c
--- arch/mips/sibyte/swarm/setup.c 26 Aug 2004 20:18:00 -0000 1.31
+++ arch/mips/sibyte/swarm/setup.c 9 Sep 2004 18:42:13 -0000
@@ -27,6 +27,7 @@
#include <linux/bootmem.h>
#include <linux/blkdev.h>
#include <linux/init.h>
+#include <linux/tty.h>
#include <asm/irq.h>
#include <asm/io.h>
@@ -50,6 +51,11 @@ extern int m41t81_probe(void);
extern int m41t81_set_time(unsigned long);
extern unsigned long m41t81_get_time(void);
+#ifdef CONFIG_BLK_DEV_INITRD
+extern unsigned long initrd_start, initrd_end;
+extern void * __rd_start, * __rd_end;
+#endif
+
const char *get_system_type(void)
{
return "SiByte " SIBYTE_BOARD_NAME;
Index: arch/mips/pci/pci-sb1250.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/pci/pci-sb1250.c,v
retrieving revision 1.9
diff -p -u -r1.9 pci-sb1250.c
--- arch/mips/pci/pci-sb1250.c 26 Aug 2004 20:18:00 -0000 1.9
+++ arch/mips/pci/pci-sb1250.c 9 Sep 2004 18:45:11 -0000
@@ -37,6 +37,7 @@
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/console.h>
+#include <linux/tty.h> //pmb 20040824
#include <asm/io.h>
|