linux-mips
[Top] [All Lists]

Re: [PATCH 2.6] make the bcm1250 work

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 2.6] make the bcm1250 work
From: Peter Buckingham <peter@pantasys.com>
Date: Fri, 10 Sep 2004 11:04:28 -0700
Cc: Christoph Hellwig <hch@lst.de>, linux-mips@linux-mips.org
In-reply-to: <20040910175213.GA9910@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4140C205.7020405@pantasys.com> <20040910075644.GA27574@lst.de> <4141DAD6.8000802@pantasys.com> <20040910175213.GA9910@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4
Ralf Baechle wrote:
Winners use grep(1) ;-)

guess the old tools still work the best ;-)

Include/linux/initrd.h.

okay, i've attached a new version of the patch. just a few questions. would it make sense to lift __rd_start, __rd_end into initrd.h? also would it make sense to add:

#ifdef __INITRD_H

etc stuff to the initrd.h?

peter
Index: arch/mips/pci/pci-sb1250.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/pci/pci-sb1250.c,v
retrieving revision 1.9
diff -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  10 Sep 2004 18:01:29 -0000
@@ -37,6 +37,7 @@
 #include <linux/init.h>
 #include <linux/mm.h>
 #include <linux/console.h>
+#include <linux/tty.h>
 
 #include <asm/io.h>
 
Index: arch/mips/sibyte/sb1250/prom.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/sibyte/sb1250/prom.c,v
retrieving revision 1.9
diff -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      10 Sep 2004 18:01:29 -0000
@@ -23,6 +23,7 @@
 #include <linux/blkdev.h>
 #include <linux/bootmem.h>
 #include <linux/smp.h>
+#include <linux/initrd.h>
 
 #include <asm/bootinfo.h>
 #include <asm/reboot.h>
Index: arch/mips/sibyte/swarm/setup.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/sibyte/swarm/setup.c,v
retrieving revision 1.31
diff -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      10 Sep 2004 18:01:29 -0000
@@ -27,6 +27,8 @@
 #include <linux/bootmem.h>
 #include <linux/blkdev.h>
 #include <linux/init.h>
+#include <linux/tty.h>
+#include <linux/initrd.h>
 
 #include <asm/irq.h>
 #include <asm/io.h>
@@ -50,6 +52,10 @@
 extern int m41t81_set_time(unsigned long);
 extern unsigned long m41t81_get_time(void);
 
+#ifdef CONFIG_BLK_DEV_INITRD
+extern void * __rd_start, * __rd_end;
+#endif
+
 const char *get_system_type(void)
 {
        return "SiByte " SIBYTE_BOARD_NAME;
<Prev in Thread] Current Thread [Next in Thread>