mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fixes to MVME5100 support in 2.6.5
@ 2004-04-22 18:08 Tom Armistead
  2004-04-26 16:51 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Armistead @ 2004-04-22 18:08 UTC (permalink / raw)
  To: paulus; +Cc: linux-kernel


This patch corrects problems of compiling and running the 2.6 kernel on
the MVME5100 board.    The existing MVME5100 platform support in 2.6
does not compile and run due to a moved include file (pplus.h) and a
changed interface to openpic_init().  This patch corrects those
problems.

Thanks,
Tom Armistead

============

diff -uprN origlinux-2.6.5/arch/ppc/platforms/mvme5100_pci.c
linux-2.6.5/arch/ppc/platforms/mvme5100_pci.c
--- origlinux-2.6.5/arch/ppc/platforms/mvme5100_pci.c   Sun Apr  4
06:36:18 2004
+++ linux-2.6.5/arch/ppc/platforms/mvme5100_pci.c       Fri Apr 16
16:26:02 2004
@@ -22,7 +22,7 @@
 #include <asm/machdep.h>
 #include <asm/pci-bridge.h>
 #include <platforms/mvme5100.h>
-#include <asm/pplus.h>
+#include "pplus.h"

 static inline int
 mvme5100_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned
char pin)
diff -uprN origlinux-2.6.5/arch/ppc/platforms/mvme5100_setup.c
linux-2.6.5/arch/ppc/platforms/mvme5100_setup.c
--- origlinux-2.6.5/arch/ppc/platforms/mvme5100_setup.c Sun Apr  4
06:36:54 2004
+++ linux-2.6.5/arch/ppc/platforms/mvme5100_setup.c     Fri Apr 16
16:27:27 2004
@@ -43,7 +43,7 @@
 #include <asm/todc.h>
 #include <asm/pci-bridge.h>
 #include <asm/bootinfo.h>
-#include <asm/pplus.h>
+#include "pplus.h"

 extern char cmd_line[];

@@ -137,14 +137,14 @@ mvme5100_init_IRQ(void)
                ppc_md.progress("init_irq: enter", 0);

 #ifdef CONFIG_MVME5100_IPMC761_PRESENT
-       openpic_init(1, NUM_8259_INTERRUPTS, NULL, -1);
+       openpic_init(NUM_8259_INTERRUPTS);

        for(i=0; i < NUM_8259_INTERRUPTS; i++)
                irq_desc[i].handler = &i8259_pic;

        i8259_init(NULL);
 #else
-       openpic_init(1, 0, NULL, -1);
+       openpic_init(0);
 #endif

        if ( ppc_md.progress )



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-26 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-22 18:08 [PATCH] Fixes to MVME5100 support in 2.6.5 Tom Armistead
2004-04-26 16:51 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®