summaryrefslogtreecommitdiff
path: root/packages/linux/linux-turbostation/linux-2.6.16_arch_ppc_syslib_mpc10x_common.c
blob: 296395818eeaea51e3316fd831d5e70114ca70f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: linux-2.6.20.1/arch/ppc/syslib/mpc10x_common.c
===================================================================
--- linux-2.6.20.1.orig/arch/ppc/syslib/mpc10x_common.c	2007-02-20 07:34:32.000000000 +0100
+++ linux-2.6.20.1/arch/ppc/syslib/mpc10x_common.c	2007-02-26 02:26:51.000000000 +0100
@@ -645,9 +645,11 @@
 	/* Skip reserved space and map i2c and DMA Ch[01] */
 	openpic_set_sources(EPIC_IRQ_BASE, 3, OpenPIC_Addr + 0x11020);
 	/* Skip reserved space and map Message Unit Interrupt (I2O) */
-	openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x110C0);
-	/* Skip reserved space and map Serial Interupts */
-	openpic_set_sources(EPIC_IRQ_BASE + 4, 2, OpenPIC_Addr + 0x11120);
+	//openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x110C0);
+#ifdef CONFIG_SANDPOINT
+	openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x11140);
+	openpic_set_sources(EPIC_IRQ_BASE + 4, 1, OpenPIC_Addr + 0x11120);
+#endif
 
 	openpic_init(NUM_8259_INTERRUPTS);
 }