From: Tom Armistead <tarmiste@eng.mcd.mot.com>
To: paulus@samba.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fixes to MVME5100 support in 2.6.5
Date: Thu, 22 Apr 2004 11:08:11 -0700 [thread overview]
Message-ID: <40880A0B.E9A569F5@eng.mcd.mot.com> (raw)
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 )
next reply other threads:[~2004-04-22 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 18:08 Tom Armistead [this message]
2004-04-26 16:51 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40880A0B.E9A569F5@eng.mcd.mot.com \
--to=tarmiste@eng.mcd.mot.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®