-Index: linux-2.6.24.7/Documentation/kernel-parameters.txt
-===================================================================
---- linux-2.6.24.7.orig/Documentation/kernel-parameters.txt
-+++ linux-2.6.24.7/Documentation/kernel-parameters.txt
+--- a/Documentation/kernel-parameters.txt
++++ b/Documentation/kernel-parameters.txt
@@ -686,6 +686,7 @@ and is between 256 and 4096 characters.
See Documentation/isdn/README.HiSax.
i8042.direct [HW] Put keyboard port into non-translated mode
i8042.dumbkbd [HW] Pretend that controller can only read data from
-Index: linux-2.6.24.7/Documentation/powerpc/00-INDEX
-===================================================================
---- linux-2.6.24.7.orig/Documentation/powerpc/00-INDEX
-+++ linux-2.6.24.7/Documentation/powerpc/00-INDEX
+--- a/Documentation/powerpc/00-INDEX
++++ b/Documentation/powerpc/00-INDEX
@@ -28,3 +28,6 @@ sound.txt
- info on sound support under Linux/PPC
zImage_layout.txt
+qe_firmware.txt
+ - describes the layout of firmware binaries for the Freescale QUICC
+ Engine and the code that parses and uploads the microcode therein.
-Index: linux-2.6.24.7/Documentation/powerpc/booting-without-of.txt
-===================================================================
---- linux-2.6.24.7.orig/Documentation/powerpc/booting-without-of.txt
-+++ linux-2.6.24.7/Documentation/powerpc/booting-without-of.txt
+--- a/Documentation/powerpc/booting-without-of.txt
++++ b/Documentation/powerpc/booting-without-of.txt
@@ -52,7 +52,11 @@ Table of Contents
i) Freescale QUICC Engine module (QE)
j) CFI or JEDEC memory-mapped NOR flash
More devices will be defined as this spec matures.
VII - Specifying interrupt information for devices
-Index: linux-2.6.24.7/Documentation/powerpc/qe_firmware.txt
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/Documentation/powerpc/qe_firmware.txt
++++ b/Documentation/powerpc/qe_firmware.txt
@@ -0,0 +1,295 @@
+ Freescale QUICC Engine Firmware Uploading
+ -----------------------------------------
+
+A Python program that creates firmware binaries from the header files normally
+distributed by Freescale can be found on http://opensource.freescale.com.
-Index: linux-2.6.24.7/arch/powerpc/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/Kconfig
+--- a/arch/powerpc/Kconfig
++++ b/arch/powerpc/Kconfig
@@ -140,6 +140,9 @@ config DEFAULT_UIMAGE
Used to allow a board to specify it wants a uImage built by default
default n
default y if !40x && !CPM2 && !8xx && !PPC_83xx \
&& !PPC_85xx && !PPC_86xx
default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
-Index: linux-2.6.24.7/arch/powerpc/Kconfig.debug
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/Kconfig.debug
-+++ linux-2.6.24.7/arch/powerpc/Kconfig.debug
+--- a/arch/powerpc/Kconfig.debug
++++ b/arch/powerpc/Kconfig.debug
@@ -151,6 +151,13 @@ config BOOTX_TEXT
config PPC_EARLY_DEBUG
config PPC_EARLY_DEBUG_CPM_ADDR
hex "CPM UART early debug transmit descriptor address"
depends on PPC_EARLY_DEBUG_CPM
-Index: linux-2.6.24.7/arch/powerpc/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/Makefile
-+++ linux-2.6.24.7/arch/powerpc/Makefile
+--- a/arch/powerpc/Makefile
++++ b/arch/powerpc/Makefile
@@ -167,6 +167,9 @@ boot := arch/$(ARCH)/boot
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
define archhelp
@echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
@echo ' install - Install kernel using'
-Index: linux-2.6.24.7/arch/powerpc/boot/4xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/4xx.c
-+++ linux-2.6.24.7/arch/powerpc/boot/4xx.c
+--- a/arch/powerpc/boot/4xx.c
++++ b/arch/powerpc/boot/4xx.c
@@ -22,16 +22,14 @@
#include "dcr.h"
- dt_fixup_clock("/plb/opb/serial@ef600600", uart0);
+ dt_fixup_clock("/plb/opb/serial@ef600400", uart1);
}
-Index: linux-2.6.24.7/arch/powerpc/boot/4xx.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/4xx.h
-+++ linux-2.6.24.7/arch/powerpc/boot/4xx.h
+--- a/arch/powerpc/boot/4xx.h
++++ b/arch/powerpc/boot/4xx.h
@@ -11,12 +11,22 @@
#ifndef _POWERPC_BOOT_4XX_H_
#define _POWERPC_BOOT_4XX_H_
+ unsigned int tmr_clk);
#endif /* _POWERPC_BOOT_4XX_H_ */
-Index: linux-2.6.24.7/arch/powerpc/boot/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/Makefile
-+++ linux-2.6.24.7/arch/powerpc/boot/Makefile
+--- a/arch/powerpc/boot/Makefile
++++ b/arch/powerpc/boot/Makefile
@@ -33,12 +33,15 @@ ifeq ($(call cc-option-yn, -fstack-prote
BOOTCFLAGS += -fno-stack-protector
endif
+
+$(obj)/bootwrapper_install: $(all-installed)
+
-Index: linux-2.6.24.7/arch/powerpc/boot/bamboo.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/bamboo.c
-+++ linux-2.6.24.7/arch/powerpc/boot/bamboo.c
+--- a/arch/powerpc/boot/bamboo.c
++++ b/arch/powerpc/boot/bamboo.c
@@ -30,8 +30,8 @@ static void bamboo_fixups(void)
{
unsigned long sysclk = 33333333;
+ fdt_init(_dtb_start);
serial_console_init();
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-52xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-52xx.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-52xx.c
+--- a/arch/powerpc/boot/cuboot-52xx.c
++++ b/arch/powerpc/boot/cuboot-52xx.c
@@ -53,7 +53,7 @@ void platform_init(unsigned long r3, uns
unsigned long r6, unsigned long r7)
{
serial_console_init();
platform_ops.fixups = platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-824x.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-824x.c
++++ b/arch/powerpc/boot/cuboot-824x.c
@@ -0,0 +1,53 @@
+/*
+ * Old U-boot compatibility for 824x
+ serial_console_init();
+ platform_ops.fixups = platform_fixups;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-83xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-83xx.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-83xx.c
+--- a/arch/powerpc/boot/cuboot-83xx.c
++++ b/arch/powerpc/boot/cuboot-83xx.c
@@ -24,7 +24,8 @@ static void platform_fixups(void)
void *soc;
serial_console_init();
platform_ops.fixups = platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-85xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-85xx.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-85xx.c
+--- a/arch/powerpc/boot/cuboot-85xx.c
++++ b/arch/powerpc/boot/cuboot-85xx.c
@@ -24,8 +24,9 @@ static void platform_fixups(void)
void *soc;
serial_console_init();
platform_ops.fixups = platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-8xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-8xx.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-8xx.c
+--- a/arch/powerpc/boot/cuboot-8xx.c
++++ b/arch/powerpc/boot/cuboot-8xx.c
@@ -41,7 +41,7 @@ void platform_init(unsigned long r3, uns
unsigned long r6, unsigned long r7)
{
serial_console_init();
platform_ops.fixups = platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-hpc2.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-hpc2.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-hpc2.c
+--- a/arch/powerpc/boot/cuboot-hpc2.c
++++ b/arch/powerpc/boot/cuboot-hpc2.c
@@ -42,7 +42,7 @@ void platform_init(unsigned long r3, uns
unsigned long r6, unsigned long r7)
{
serial_console_init();
platform_ops.fixups = platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-katmai.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-katmai.c
++++ b/arch/powerpc/boot/cuboot-katmai.c
@@ -0,0 +1,56 @@
+/*
+ * Old U-boot compatibility for Katmai
+ fdt_init(_dtb_start);
+ serial_console_init();
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-pq2.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-pq2.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-pq2.c
+--- a/arch/powerpc/boot/cuboot-pq2.c
++++ b/arch/powerpc/boot/cuboot-pq2.c
@@ -255,7 +255,7 @@ void platform_init(unsigned long r3, uns
unsigned long r6, unsigned long r7)
{
serial_console_init();
platform_ops.fixups = pq2_platform_fixups;
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-rainier.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-rainier.c
++++ b/arch/powerpc/boot/cuboot-rainier.c
@@ -0,0 +1,56 @@
+/*
+ * Old U-boot compatibility for Rainier
+ fdt_init(_dtb_start);
+ serial_console_init();
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-sequoia.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/cuboot-sequoia.c
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-sequoia.c
+--- a/arch/powerpc/boot/cuboot-sequoia.c
++++ b/arch/powerpc/boot/cuboot-sequoia.c
@@ -39,7 +39,7 @@ static void sequoia_fixups(void)
{
unsigned long sysclk = 33333333;
+ fdt_init(_dtb_start);
serial_console_init();
}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-taishan.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-taishan.c
++++ b/arch/powerpc/boot/cuboot-taishan.c
@@ -0,0 +1,54 @@
+/*
+ * Old U-boot compatibility for Taishan
+ fdt_init(_dtb_start);
+ serial_console_init();
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/cuboot-warp.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/cuboot-warp.c
++++ b/arch/powerpc/boot/cuboot-warp.c
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2008 PIKA Technologies
+ fdt_init(_dtb_start);
+ serial_console_init();
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dcr.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dcr.h
-+++ linux-2.6.24.7/arch/powerpc/boot/dcr.h
+--- a/arch/powerpc/boot/dcr.h
++++ b/arch/powerpc/boot/dcr.h
@@ -14,12 +14,20 @@
#define DCRN_SDRAM0_CFGADDR 0x010
#define DCRN_SDRAM0_CFGDATA 0x011
+
#endif /* _PPC_BOOT_DCR_H_ */
-Index: linux-2.6.24.7/arch/powerpc/boot/devtree.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/devtree.c
-+++ linux-2.6.24.7/arch/powerpc/boot/devtree.c
+--- a/arch/powerpc/boot/devtree.c
++++ b/arch/powerpc/boot/devtree.c
@@ -88,6 +88,20 @@ void dt_fixup_clock(const char *path, u3
}
}
void dt_fixup_mac_address(u32 index, const u8 *addr)
{
void *devp = find_node_by_prop_value(NULL, "linux,network-index",
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/Makefile.dtc
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/Makefile.dtc
++++ b/arch/powerpc/boot/dtc-src/Makefile.dtc
@@ -0,0 +1,25 @@
+# Makefile.dtc
+#
+# things, but we supply the dependencies on generated header files explicitly
+
+$(addprefix $(DTC_objdir)/,$(DTC_GEN_SRCS:%.c=%.o)): $(addprefix $(DTC_objdir)/,$(DTC_BISON_INCLUDES))
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/checks.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/checks.c
++++ b/arch/powerpc/boot/dtc-src/checks.c
@@ -0,0 +1,750 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2007.
+
+ return 1;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/data.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/data.c
++++ b/arch/powerpc/boot/dtc-src/data.c
@@ -0,0 +1,321 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+
+ return 1;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-lexer.l
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-lexer.l
++++ b/arch/powerpc/boot/dtc-src/dtc-lexer.l
@@ -0,0 +1,328 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+
+ return 1;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped
++++ b/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped
@@ -0,0 +1,2174 @@
+#line 2 "dtc-lexer.lex.c"
+
+ return 1;
+}
+
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped
++++ b/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped
@@ -0,0 +1,1983 @@
+/* A Bison parser, made by GNU Bison 2.3. */
+
+ return val;
+}
+
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped
++++ b/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped
@@ -0,0 +1,111 @@
+/* A Bison parser, made by GNU Bison 2.3. */
+
+#endif
+
+extern YYLTYPE yylloc;
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.y
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc-parser.y
++++ b/arch/powerpc/boot/dtc-src/dtc-parser.y
@@ -0,0 +1,336 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+ yyerror("bad literal");
+ return val;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc.c
++++ b/arch/powerpc/boot/dtc-src/dtc.c
@@ -0,0 +1,231 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+
+ exit(0);
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/dtc.h
++++ b/arch/powerpc/boot/dtc-src/dtc.h
@@ -0,0 +1,269 @@
+#ifndef _DTC_H
+#define _DTC_H
+void fill_fullpaths(struct node *tree, const char *prefix);
+
+#endif /* _DTC_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/flattree.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/flattree.c
++++ b/arch/powerpc/boot/dtc-src/flattree.c
@@ -0,0 +1,968 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+
+ return build_boot_info(reservelist, tree);
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/fstree.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/fstree.c
++++ b/arch/powerpc/boot/dtc-src/fstree.c
@@ -0,0 +1,94 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+ return build_boot_info(NULL, tree);
+}
+
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/livetree.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/livetree.c
++++ b/arch/powerpc/boot/dtc-src/livetree.c
@@ -0,0 +1,305 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+
+ return node->phandle;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/srcpos.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/srcpos.c
++++ b/arch/powerpc/boot/dtc-src/srcpos.c
@@ -0,0 +1,105 @@
+/*
+ * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc.
+{
+ return srcpos_filename_for_num(srcpos_filenum);
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/srcpos.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/srcpos.h
++++ b/arch/powerpc/boot/dtc-src/srcpos.h
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc.
+extern int lookup_file_name(const char *fname, int add_it);
+extern const char *srcpos_filename_for_num(int filenum);
+const char *srcpos_get_filename(void);
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/treesource.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/treesource.c
++++ b/arch/powerpc/boot/dtc-src/treesource.c
@@ -0,0 +1,275 @@
+/*
+ * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005.
+ write_tree_source_node(f, bi->dt, 0);
+}
+
-Index: linux-2.6.24.7/arch/powerpc/boot/dtc-src/version_gen.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dtc-src/version_gen.h
++++ b/arch/powerpc/boot/dtc-src/version_gen.h
@@ -0,0 +1 @@
+#define DTC_VERSION "DTC 1.0.0-gd6f9b62f"
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/adder875-redboot.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/adder875-redboot.dts
++++ b/arch/powerpc/boot/dts/adder875-redboot.dts
@@ -0,0 +1,184 @@
+/*
+ * Device Tree Source for MPC885 ADS running RedBoot
+ linux,stdout-path = &console;
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/adder875-uboot.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/adder875-uboot.dts
++++ b/arch/powerpc/boot/dts/adder875-uboot.dts
@@ -0,0 +1,183 @@
+/*
+ * Device Tree Source for MPC885 ADS running U-Boot
+ linux,stdout-path = &console;
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/bamboo.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/bamboo.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/bamboo.dts
+--- a/arch/powerpc/boot/dts/bamboo.dts
++++ b/arch/powerpc/boot/dts/bamboo.dts
@@ -16,14 +16,24 @@
#size-cells = <1>;
model = "amcc,bamboo";
- bootargs = "console=ttyS0,115200";
};
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/cm5200.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/cm5200.dts
++++ b/arch/powerpc/boot/dts/cm5200.dts
@@ -0,0 +1,236 @@
+/*
+ * CM5200 board Device Tree Source
+ };
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/ebony.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/ebony.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/ebony.dts
+--- a/arch/powerpc/boot/dts/ebony.dts
++++ b/arch/powerpc/boot/dts/ebony.dts
@@ -16,14 +16,22 @@
#size-cells = <1>;
model = "ibm,ebony";
};
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/ep405.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/ep405.dts
++++ b/arch/powerpc/boot/dts/ep405.dts
@@ -0,0 +1,228 @@
+/*
+ * Device Tree Source for EP405
+ linux,stdout-path = "/plb/opb/serial@ef600300";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/ep8248e.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/ep8248e.dts
++++ b/arch/powerpc/boot/dts/ep8248e.dts
@@ -0,0 +1,207 @@
+/*
+ * Device Tree for the Embedded Planet EP8248E board running PlanetCore.
+ };
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/haleakala.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/haleakala.dts
++++ b/arch/powerpc/boot/dts/haleakala.dts
@@ -0,0 +1,274 @@
+/*
+ * Device Tree Source for AMCC Haleakala (405EXr)
+ };
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/katmai.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/katmai.dts
++++ b/arch/powerpc/boot/dts/katmai.dts
@@ -0,0 +1,400 @@
+/*
+ * Device Tree Source for AMCC Katmai eval board
+ linux,stdout-path = "/plb/opb/serial@10000200";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/kilauea.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/kilauea.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/kilauea.dts
+--- a/arch/powerpc/boot/dts/kilauea.dts
++++ b/arch/powerpc/boot/dts/kilauea.dts
@@ -13,14 +13,22 @@
#size-cells = <1>;
model = "amcc,kilauea";
+ };
};
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/kuroboxHD.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/kuroboxHD.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/kuroboxHD.dts
+--- a/arch/powerpc/boot/dts/kuroboxHD.dts
++++ b/arch/powerpc/boot/dts/kuroboxHD.dts
@@ -23,6 +23,12 @@ XXXX add flash parts, rtc, ??
#address-cells = <1>;
#size-cells = <1>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/kuroboxHG.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/kuroboxHG.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/kuroboxHG.dts
+--- a/arch/powerpc/boot/dts/kuroboxHG.dts
++++ b/arch/powerpc/boot/dts/kuroboxHG.dts
@@ -23,6 +23,12 @@ XXXX add flash parts, rtc, ??
#address-cells = <1>;
#size-cells = <1>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/lite5200.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/lite5200.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/lite5200.dts
+--- a/arch/powerpc/boot/dts/lite5200.dts
++++ b/arch/powerpc/boot/dts/lite5200.dts
@@ -19,7 +19,7 @@
/ {
model = "fsl,lite5200";
compatible = "mpc5200-i2c","fsl-i2c";
cell-index = <1>;
reg = <3d40 40>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/lite5200b.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/lite5200b.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/lite5200b.dts
+--- a/arch/powerpc/boot/dts/lite5200b.dts
++++ b/arch/powerpc/boot/dts/lite5200b.dts
@@ -19,7 +19,7 @@
/ {
model = "fsl,lite5200b";
compatible = "mpc5200b-i2c","mpc5200-i2c","fsl-i2c";
cell-index = <1>;
reg = <3d40 40>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/makalu.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/makalu.dts
++++ b/arch/powerpc/boot/dts/makalu.dts
@@ -0,0 +1,347 @@
+/*
+ * Device Tree Source for AMCC Makalu (405EX)
+ };
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/motionpro.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/motionpro.dts
++++ b/arch/powerpc/boot/dts/motionpro.dts
@@ -0,0 +1,309 @@
+/*
+ * Motion-PRO board Device Tree Source
+ 01000000 0 00000000 b0000000 0 01000000>;
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8313erdb.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8313erdb.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8313erdb.dts
+--- a/arch/powerpc/boot/dts/mpc8313erdb.dts
++++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
@@ -15,6 +15,14 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc832x_mds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc832x_mds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc832x_mds.dts
+--- a/arch/powerpc/boot/dts/mpc832x_mds.dts
++++ b/arch/powerpc/boot/dts/mpc832x_mds.dts
@@ -7,6 +7,18 @@
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x11 AD17 */
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc832x_rdb.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc832x_rdb.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc832x_rdb.dts
+--- a/arch/powerpc/boot/dts/mpc832x_rdb.dts
++++ b/arch/powerpc/boot/dts/mpc832x_rdb.dts
@@ -15,6 +15,14 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x10 AD16 (USB) */
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8349emitx.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8349emitx.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8349emitx.dts
+--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
++++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -14,6 +14,15 @@
#address-cells = <1>;
#size-cells = <1>;
+ };
+ };
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8349emitxgp.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8349emitxgp.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8349emitxgp.dts
+--- a/arch/powerpc/boot/dts/mpc8349emitxgp.dts
++++ b/arch/powerpc/boot/dts/mpc8349emitxgp.dts
@@ -14,6 +14,13 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
/* IDSEL 0x0F - PCI Slot */
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc834x_mds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc834x_mds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc834x_mds.dts
+--- a/arch/powerpc/boot/dts/mpc834x_mds.dts
++++ b/arch/powerpc/boot/dts/mpc834x_mds.dts
@@ -15,6 +15,15 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc836x_mds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc836x_mds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc836x_mds.dts
+--- a/arch/powerpc/boot/dts/mpc836x_mds.dts
++++ b/arch/powerpc/boot/dts/mpc836x_mds.dts
@@ -20,6 +20,14 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8377_mds.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8377_mds.dts
++++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -0,0 +1,279 @@
+/*
+ * MPC8377E MDS Device Tree Source
+ device_type = "pci";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8378_mds.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8378_mds.dts
++++ b/arch/powerpc/boot/dts/mpc8378_mds.dts
@@ -0,0 +1,265 @@
+/*
+ * MPC8378E MDS Device Tree Source
+ device_type = "pci";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8379_mds.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8379_mds.dts
++++ b/arch/powerpc/boot/dts/mpc8379_mds.dts
@@ -0,0 +1,293 @@
+/*
+ * MPC8379E MDS Device Tree Source
+ device_type = "pci";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8540ads.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8540ads.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8540ads.dts
+--- a/arch/powerpc/boot/dts/mpc8540ads.dts
++++ b/arch/powerpc/boot/dts/mpc8540ads.dts
@@ -16,6 +16,15 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8541cds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8541cds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8541cds.dts
+--- a/arch/powerpc/boot/dts/mpc8541cds.dts
++++ b/arch/powerpc/boot/dts/mpc8541cds.dts
@@ -16,6 +16,15 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8544ds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8544ds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8544ds.dts
+--- a/arch/powerpc/boot/dts/mpc8544ds.dts
++++ b/arch/powerpc/boot/dts/mpc8544ds.dts
@@ -15,6 +15,17 @@
#address-cells = <1>;
#size-cells = <1>;
-
};
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8548cds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8548cds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8548cds.dts
+--- a/arch/powerpc/boot/dts/mpc8548cds.dts
++++ b/arch/powerpc/boot/dts/mpc8548cds.dts
@@ -16,6 +16,20 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8555cds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8555cds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8555cds.dts
+--- a/arch/powerpc/boot/dts/mpc8555cds.dts
++++ b/arch/powerpc/boot/dts/mpc8555cds.dts
@@ -16,6 +16,15 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8560ads.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8560ads.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8560ads.dts
+--- a/arch/powerpc/boot/dts/mpc8560ads.dts
++++ b/arch/powerpc/boot/dts/mpc8560ads.dts
@@ -16,6 +16,16 @@
#address-cells = <1>;
#size-cells = <1>;
#interrupt-cells = <1>;
#size-cells = <2>;
#address-cells = <3>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8568mds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8568mds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8568mds.dts
+--- a/arch/powerpc/boot/dts/mpc8568mds.dts
++++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -20,6 +20,17 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>;
interrupt-map = <
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8572ds.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8572ds.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8572ds.dts
+--- a/arch/powerpc/boot/dts/mpc8572ds.dts
++++ b/arch/powerpc/boot/dts/mpc8572ds.dts
@@ -15,6 +15,18 @@
#address-cells = <1>;
#size-cells = <1>;
interrupt-map = <
/* IDSEL 0x0 */
0000 0 0 1 &mpic 0 1
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8610_hpcd.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8610_hpcd.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8610_hpcd.dts
+--- a/arch/powerpc/boot/dts/mpc8610_hpcd.dts
++++ b/arch/powerpc/boot/dts/mpc8610_hpcd.dts
@@ -1,7 +1,7 @@
/*
* MPC8610 HPCD Device Tree Source
compatible = "fsl,mpc8641-pcie";
device_type = "pci";
#interrupt-cells = <1>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc8641_hpcn.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc8641_hpcn.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
++++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -16,6 +16,17 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "fsl,mpc8641-pcie";
device_type = "pci";
#interrupt-cells = <1>;
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/mpc866ads.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/mpc866ads.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/mpc866ads.dts
+--- a/arch/powerpc/boot/dts/mpc866ads.dts
++++ b/arch/powerpc/boot/dts/mpc866ads.dts
@@ -12,7 +12,7 @@
/ {
+ linux,stdout-path = "/soc/cpm/serial@a80";
+ };
};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/rainier.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/rainier.dts
++++ b/arch/powerpc/boot/dts/rainier.dts
@@ -0,0 +1,353 @@
+/*
+ * Device Tree Source for AMCC Rainier
+ bootargs = "console=ttyS0,115200";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/sequoia.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/sequoia.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/sequoia.dts
+--- a/arch/powerpc/boot/dts/sequoia.dts
++++ b/arch/powerpc/boot/dts/sequoia.dts
@@ -17,14 +17,24 @@
#size-cells = <1>;
model = "amcc,sequoia";
};
chosen {
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/storcenter.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/storcenter.dts
++++ b/arch/powerpc/boot/dts/storcenter.dts
@@ -0,0 +1,138 @@
+/*
+ * Device Tree Source for IOMEGA StorCenter
+ linux,stdout-path = "/soc/serial@4500";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/taishan.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/taishan.dts
++++ b/arch/powerpc/boot/dts/taishan.dts
@@ -0,0 +1,383 @@
+/*
+ * Device Tree Source for IBM/AMCC Taishan
+ linux,stdout-path = "/plb/opb/serial@40000300";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/tqm5200.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/tqm5200.dts
++++ b/arch/powerpc/boot/dts/tqm5200.dts
@@ -0,0 +1,184 @@
+/*
+ * TQM5200 board Device Tree Source
+ 01000000 0 00000000 a0000000 0 01000000>;
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/walnut.dts
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/dts/walnut.dts
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/walnut.dts
+--- a/arch/powerpc/boot/dts/walnut.dts
++++ b/arch/powerpc/boot/dts/walnut.dts
@@ -14,14 +14,21 @@
#size-cells = <1>;
model = "ibm,walnut";
};
chosen {
-Index: linux-2.6.24.7/arch/powerpc/boot/dts/warp.dts
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/dts/warp.dts
++++ b/arch/powerpc/boot/dts/warp.dts
@@ -0,0 +1,239 @@
+/*
+ * Device Tree Source for PIKA Warp
+ linux,stdout-path = "/plb/opb/serial@ef600300";
+ };
+};
-Index: linux-2.6.24.7/arch/powerpc/boot/ebony.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/ebony.c
-+++ linux-2.6.24.7/arch/powerpc/boot/ebony.c
+--- a/arch/powerpc/boot/ebony.c
++++ b/arch/powerpc/boot/ebony.c
@@ -31,66 +31,6 @@
static u8 *ebony_mac0, *ebony_mac1;
+ fdt_init(_dtb_start);
serial_console_init();
}
-Index: linux-2.6.24.7/arch/powerpc/boot/ep405.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/ep405.c
++++ b/arch/powerpc/boot/ep405.c
@@ -0,0 +1,74 @@
+/*
+ * Embedded Planet EP405 with PlanetCore firmware
+ serial_console_init();
+ platform_ops.fixups = platform_fixups;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/ep8248e.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/ep8248e.c
++++ b/arch/powerpc/boot/ep8248e.c
@@ -0,0 +1,55 @@
+/*
+ * Embedded Planet EP8248E with PlanetCore firmware
+ serial_console_init();
+ platform_ops.fixups = platform_fixups;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/ep88xc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/ep88xc.c
-+++ linux-2.6.24.7/arch/powerpc/boot/ep88xc.c
+--- a/arch/powerpc/boot/ep88xc.c
++++ b/arch/powerpc/boot/ep88xc.c
@@ -45,7 +45,7 @@ void platform_init(unsigned long r3, uns
mem_size *= 1024 * 1024;
simple_alloc_init(_end, mem_size - (unsigned long)_end, 32, 64);
planetcore_set_stdout_path(table);
-Index: linux-2.6.24.7/arch/powerpc/boot/flatdevtree.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/flatdevtree.c
+--- a/arch/powerpc/boot/flatdevtree.c
+++ /dev/null
@@ -1,1036 +0,0 @@
-/*
-
- return buf;
-}
-Index: linux-2.6.24.7/arch/powerpc/boot/flatdevtree.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/flatdevtree.h
+--- a/arch/powerpc/boot/flatdevtree.h
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
-char *ft_get_path(struct ft_cxt *cxt, const void *phandle, char *buf, int len);
-
-#endif /* FLATDEVTREE_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/flatdevtree_misc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/flatdevtree_misc.c
+--- a/arch/powerpc/boot/flatdevtree_misc.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- return ft_open(&cxt, dt_blob, max_size, max_find_device,
- platform_ops.realloc);
-}
-Index: linux-2.6.24.7/arch/powerpc/boot/holly.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/holly.c
-+++ linux-2.6.24.7/arch/powerpc/boot/holly.c
+--- a/arch/powerpc/boot/holly.c
++++ b/arch/powerpc/boot/holly.c
@@ -28,6 +28,6 @@ void platform_init(unsigned long r3, uns
u32 heapsize = 0x8000000 - (u32)_end; /* 128M */
+ fdt_init(_dtb_start);
serial_console_init();
}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/Makefile.libfdt
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/Makefile.libfdt
++++ b/arch/powerpc/boot/libfdt/Makefile.libfdt
@@ -0,0 +1,14 @@
+# Makefile.libfdt
+#
+
+$(LIBFDT_objdir)/$(LIBFDT_LIB): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS))
+
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt.c
++++ b/arch/powerpc/boot/libfdt/fdt.c
@@ -0,0 +1,156 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+ memmove(buf, fdt, fdt_totalsize(fdt));
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt.h
++++ b/arch/powerpc/boot/libfdt/fdt.h
@@ -0,0 +1,60 @@
+#ifndef _FDT_H
+#define _FDT_H
+#define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(uint32_t))
+
+#endif /* _FDT_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_ro.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_ro.c
++++ b/arch/powerpc/boot/libfdt/fdt_ro.c
@@ -0,0 +1,583 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+
+ return -FDT_ERR_NOTFOUND;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_rw.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_rw.c
++++ b/arch/powerpc/boot/libfdt/fdt_rw.c
@@ -0,0 +1,447 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_strerror.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_strerror.c
++++ b/arch/powerpc/boot/libfdt/fdt_strerror.c
@@ -0,0 +1,96 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+
+ return "<unknown error>";
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_sw.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_sw.c
++++ b/arch/powerpc/boot/libfdt/fdt_sw.c
@@ -0,0 +1,258 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+ fdt_set_magic(fdt, FDT_MAGIC);
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_wip.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/fdt_wip.c
++++ b/arch/powerpc/boot/libfdt/fdt_wip.c
@@ -0,0 +1,144 @@
+/*
+ * libfdt - Flat Device Tree manipulation
+ nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), endoffset - nodeoffset);
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/libfdt.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/libfdt.h
++++ b/arch/powerpc/boot/libfdt/libfdt.h
@@ -0,0 +1,721 @@
+#ifndef _LIBFDT_H
+#define _LIBFDT_H
+const char *fdt_strerror(int errval);
+
+#endif /* _LIBFDT_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt/libfdt_internal.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt/libfdt_internal.h
++++ b/arch/powerpc/boot/libfdt/libfdt_internal.h
@@ -0,0 +1,89 @@
+#ifndef _LIBFDT_INTERNAL_H
+#define _LIBFDT_INTERNAL_H
+#define SW_MAGIC (~FDT_MAGIC)
+
+#endif /* _LIBFDT_INTERNAL_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt-wrapper.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt-wrapper.c
++++ b/arch/powerpc/boot/libfdt-wrapper.c
@@ -0,0 +1,184 @@
+/*
+ * This file does the necessary interface mapping between the bootwrapper
+ if (buf)
+ fdt = buf;
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/libfdt_env.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/libfdt_env.h
++++ b/arch/powerpc/boot/libfdt_env.h
@@ -0,0 +1,17 @@
+#ifndef _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
+#define _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
+#define cpu_to_fdt64(x) (x)
+
+#endif /* _ARCH_POWERPC_BOOT_LIBFDT_ENV_H */
-Index: linux-2.6.24.7/arch/powerpc/boot/main.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/main.c
-+++ linux-2.6.24.7/arch/powerpc/boot/main.c
+--- a/arch/powerpc/boot/main.c
++++ b/arch/powerpc/boot/main.c
@@ -16,7 +16,6 @@
#include "stdio.h"
#include "ops.h"
#include "reg.h"
static struct gunzip_state gzstate;
-Index: linux-2.6.24.7/arch/powerpc/boot/ops.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/ops.h
-+++ linux-2.6.24.7/arch/powerpc/boot/ops.h
+--- a/arch/powerpc/boot/ops.h
++++ b/arch/powerpc/boot/ops.h
@@ -79,7 +79,7 @@ struct loader_info {
extern struct loader_info loader_info;
void dt_fixup_mac_address(u32 index, const u8 *addr);
void __dt_fixup_mac_addresses(u32 startindex, ...);
#define dt_fixup_mac_addresses(...) \
-Index: linux-2.6.24.7/arch/powerpc/boot/prpmc2800.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/prpmc2800.c
-+++ linux-2.6.24.7/arch/powerpc/boot/prpmc2800.c
+--- a/arch/powerpc/boot/prpmc2800.c
++++ b/arch/powerpc/boot/prpmc2800.c
@@ -547,8 +547,7 @@ void platform_init(unsigned long r3, uns
if (!dtb)
exit();
bridge_base = mv64x60_get_bridge_base();
-Index: linux-2.6.24.7/arch/powerpc/boot/ps3.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/ps3.c
-+++ linux-2.6.24.7/arch/powerpc/boot/ps3.c
+--- a/arch/powerpc/boot/ps3.c
++++ b/arch/powerpc/boot/ps3.c
@@ -131,7 +131,7 @@ void platform_init(void)
printf("\n-- PS3 bootwrapper --\n");
chosen = finddevice("/chosen");
-Index: linux-2.6.24.7/arch/powerpc/boot/redboot-8xx.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/redboot-8xx.c
++++ b/arch/powerpc/boot/redboot-8xx.c
@@ -0,0 +1,58 @@
+/*
+ * RedBoot firmware support
+ loader_info.cmdline = (char *)bd.bi_cmdline;
+ loader_info.cmdline_len = strlen((char *)bd.bi_cmdline);
+}
-Index: linux-2.6.24.7/arch/powerpc/boot/redboot.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/boot/redboot.h
++++ b/arch/powerpc/boot/redboot.h
@@ -0,0 +1,56 @@
+#ifndef _PPC_REDBOOT_H
+#define _PPC_REDBOOT_H
+#define bi_pci_busfreq bi_pci_freq
+#define bi_immr_base bi_immr
+#endif
-Index: linux-2.6.24.7/arch/powerpc/boot/reg.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/reg.h
-+++ linux-2.6.24.7/arch/powerpc/boot/reg.h
+--- a/arch/powerpc/boot/reg.h
++++ b/arch/powerpc/boot/reg.h
@@ -16,6 +16,14 @@ static inline u32 mfpvr(void)
return pvr;
}
register void *__stack_pointer asm("r1");
#define get_sp() (__stack_pointer)
-Index: linux-2.6.24.7/arch/powerpc/boot/serial.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/serial.c
-+++ linux-2.6.24.7/arch/powerpc/boot/serial.c
+--- a/arch/powerpc/boot/serial.c
++++ b/arch/powerpc/boot/serial.c
@@ -128,7 +128,8 @@ int serial_console_init(void)
rc = cpm_console_init(devp, &serial_cd);
else if (dt_is_compatible(devp, "mpc5200-psc-uart"))
rc = uartlite_console_init(devp, &serial_cd);
/* Add other serial console driver calls here */
-Index: linux-2.6.24.7/arch/powerpc/boot/treeboot-walnut.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/treeboot-walnut.c
-+++ linux-2.6.24.7/arch/powerpc/boot/treeboot-walnut.c
+--- a/arch/powerpc/boot/treeboot-walnut.c
++++ b/arch/powerpc/boot/treeboot-walnut.c
@@ -20,55 +20,6 @@
BSS_STACK(4096);
+ fdt_init(_dtb_start);
serial_console_init();
}
-Index: linux-2.6.24.7/arch/powerpc/boot/wrapper
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/boot/wrapper
-+++ linux-2.6.24.7/arch/powerpc/boot/wrapper
+--- a/arch/powerpc/boot/wrapper
++++ b/arch/powerpc/boot/wrapper
@@ -45,6 +45,7 @@ CROSS=
# directory for object and other files used by this script
+ gzip --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
;;
esac
-Index: linux-2.6.24.7/arch/powerpc/configs/adder875-redboot_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/adder875-redboot_defconfig
++++ b/arch/powerpc/configs/adder875-redboot_defconfig
@@ -0,0 +1,798 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO is not set
+# CONFIG_PPC_CLOCK is not set
+CONFIG_PPC_LIB_RHEAP=y
-Index: linux-2.6.24.7/arch/powerpc/configs/adder875-uboot_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/adder875-uboot_defconfig
++++ b/arch/powerpc/configs/adder875-uboot_defconfig
@@ -0,0 +1,798 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO is not set
+# CONFIG_PPC_CLOCK is not set
+CONFIG_PPC_LIB_RHEAP=y
-Index: linux-2.6.24.7/arch/powerpc/configs/bamboo_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/bamboo_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/bamboo_defconfig
+--- a/arch/powerpc/configs/bamboo_defconfig
++++ b/arch/powerpc/configs/bamboo_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
#
# Security options
-Index: linux-2.6.24.7/arch/powerpc/configs/celleb_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/celleb_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/celleb_defconfig
+--- a/arch/powerpc/configs/celleb_defconfig
++++ b/arch/powerpc/configs/celleb_defconfig
@@ -50,7 +50,8 @@ CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_DEFAULT_UIMAGE is not set
#
# Security options
-Index: linux-2.6.24.7/arch/powerpc/configs/ebony_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/ebony_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/ebony_defconfig
+--- a/arch/powerpc/configs/ebony_defconfig
++++ b/arch/powerpc/configs/ebony_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
CONFIG_440GP=y
# CONFIG_MPIC is not set
# CONFIG_MPIC_WEIRD is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/ep405_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/ep405_defconfig
++++ b/arch/powerpc/configs/ep405_defconfig
@@ -0,0 +1,952 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_AUTHENC is not set
+CONFIG_CRYPTO_HW=y
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/ep8248e_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/ep8248e_defconfig
++++ b/arch/powerpc/configs/ep8248e_defconfig
@@ -0,0 +1,821 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_HW is not set
+# CONFIG_PPC_CLOCK is not set
+CONFIG_PPC_LIB_RHEAP=y
-Index: linux-2.6.24.7/arch/powerpc/configs/katmai_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/katmai_defconfig
++++ b/arch/powerpc/configs/katmai_defconfig
@@ -0,0 +1,790 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_AUTHENC is not set
+CONFIG_CRYPTO_HW=y
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/kilauea_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/kilauea_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/kilauea_defconfig
+--- a/arch/powerpc/configs/kilauea_defconfig
++++ b/arch/powerpc/configs/kilauea_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/lite5200_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/lite5200_defconfig
+--- a/arch/powerpc/configs/lite5200_defconfig
+++ /dev/null
@@ -1,847 +0,0 @@
-#
-# CONFIG_CRYPTO is not set
-CONFIG_PPC_CLOCK=y
-CONFIG_PPC_LIB_RHEAP=y
-Index: linux-2.6.24.7/arch/powerpc/configs/makalu_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/makalu_defconfig
++++ b/arch/powerpc/configs/makalu_defconfig
@@ -0,0 +1,812 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_AUTHENC is not set
+CONFIG_CRYPTO_HW=y
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/mpc5200_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/mpc5200_defconfig
++++ b/arch/powerpc/configs/mpc5200_defconfig
@@ -0,0 +1,1286 @@
+#
+# Automatically generated make config: don't edit
+CONFIG_CRYPTO_HW=y
+CONFIG_PPC_CLOCK=y
+CONFIG_PPC_LIB_RHEAP=y
-Index: linux-2.6.24.7/arch/powerpc/configs/mpc8313_rdb_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/mpc8313_rdb_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/mpc8313_rdb_defconfig
+--- a/arch/powerpc/configs/mpc8313_rdb_defconfig
++++ b/arch/powerpc/configs/mpc8313_rdb_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
-Index: linux-2.6.24.7/arch/powerpc/configs/mpc834x_itx_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/mpc834x_itx_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/mpc834x_itx_defconfig
+--- a/arch/powerpc/configs/mpc834x_itx_defconfig
++++ b/arch/powerpc/configs/mpc834x_itx_defconfig
@@ -570,7 +570,8 @@ CONFIG_SATA_SIL=y
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=y
-Index: linux-2.6.24.7/arch/powerpc/configs/mpc837x_mds_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/mpc837x_mds_defconfig
++++ b/arch/powerpc/configs/mpc837x_mds_defconfig
@@ -0,0 +1,878 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_TEST is not set
+CONFIG_CRYPTO_HW=y
-Index: linux-2.6.24.7/arch/powerpc/configs/mpc8610_hpcd_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/mpc8610_hpcd_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/mpc8610_hpcd_defconfig
+--- a/arch/powerpc/configs/mpc8610_hpcd_defconfig
++++ b/arch/powerpc/configs/mpc8610_hpcd_defconfig
@@ -696,7 +696,7 @@ CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
# CONFIG_HID_DEBUG is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/pasemi_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/pasemi_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/pasemi_defconfig
+--- a/arch/powerpc/configs/pasemi_defconfig
++++ b/arch/powerpc/configs/pasemi_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
-Index: linux-2.6.24.7/arch/powerpc/configs/ppc64_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/ppc64_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/ppc64_defconfig
+--- a/arch/powerpc/configs/ppc64_defconfig
++++ b/arch/powerpc/configs/ppc64_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# CONFIG_INFINIBAND_AMSO1100 is not set
# CONFIG_MLX4_INFINIBAND is not set
CONFIG_INFINIBAND_IPOIB=m
-Index: linux-2.6.24.7/arch/powerpc/configs/ps3_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/ps3_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/ps3_defconfig
+--- a/arch/powerpc/configs/ps3_defconfig
++++ b/arch/powerpc/configs/ps3_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# CONFIG_KPROBES is not set
# CONFIG_MARKERS is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/rainier_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/rainier_defconfig
++++ b/arch/powerpc/configs/rainier_defconfig
@@ -0,0 +1,873 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_AUTHENC is not set
+CONFIG_CRYPTO_HW=y
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/sequoia_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/sequoia_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/sequoia_defconfig
+--- a/arch/powerpc/configs/sequoia_defconfig
++++ b/arch/powerpc/configs/sequoia_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# CONFIG_PPC_EARLY_DEBUG_CPM is not set
CONFIG_PPC_EARLY_DEBUG_44x_PHYSLOW=0xef600300
CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x1
-Index: linux-2.6.24.7/arch/powerpc/configs/storcenter_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/storcenter_defconfig
++++ b/arch/powerpc/configs/storcenter_defconfig
@@ -0,0 +1,1174 @@
+#
+# Automatically generated make config: don't edit
+CONFIG_ASYNC_XOR=y
+# CONFIG_CRYPTO is not set
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/taishan_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/taishan_defconfig
++++ b/arch/powerpc/configs/taishan_defconfig
@@ -0,0 +1,790 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_CRYPTO_AUTHENC is not set
+CONFIG_CRYPTO_HW=y
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/walnut_defconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/configs/walnut_defconfig
-+++ linux-2.6.24.7/arch/powerpc/configs/walnut_defconfig
+--- a/arch/powerpc/configs/walnut_defconfig
++++ b/arch/powerpc/configs/walnut_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
-Index: linux-2.6.24.7/arch/powerpc/configs/warp_defconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/configs/warp_defconfig
++++ b/arch/powerpc/configs/warp_defconfig
@@ -0,0 +1,1057 @@
+#
+# Automatically generated make config: don't edit
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+# CONFIG_PPC_CLOCK is not set
-Index: linux-2.6.24.7/arch/powerpc/kernel/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/Makefile
-+++ linux-2.6.24.7/arch/powerpc/kernel/Makefile
+--- a/arch/powerpc/kernel/Makefile
++++ b/arch/powerpc/kernel/Makefile
@@ -3,7 +3,7 @@
#
+PHONY += systbl_chk
+systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i
+ $(call cmd,systbl_chk)
-Index: linux-2.6.24.7/arch/powerpc/kernel/btext.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/btext.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/btext.c
+--- a/arch/powerpc/kernel/btext.c
++++ b/arch/powerpc/kernel/btext.c
@@ -236,7 +236,7 @@ int __init btext_find_display(int allow_
if (rc == 0 || !allow_nonstdout)
return rc;
if (of_get_property(np, "linux,opened", NULL)) {
printk("trying %s ...\n", np->full_name);
rc = btext_initialize(np);
-Index: linux-2.6.24.7/arch/powerpc/kernel/cpu_setup_44x.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/cpu_setup_44x.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/cpu_setup_44x.S
+--- a/arch/powerpc/kernel/cpu_setup_44x.S
++++ b/arch/powerpc/kernel/cpu_setup_44x.S
@@ -23,11 +23,24 @@ _GLOBAL(__setup_cpu_440epx)
mflr r4
bl __init_fpu_44x
/* enable APU between CPU and FPU */
_GLOBAL(__init_fpu_44x)
-Index: linux-2.6.24.7/arch/powerpc/kernel/cputable.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/cputable.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/cputable.c
+--- a/arch/powerpc/kernel/cputable.c
++++ b/arch/powerpc/kernel/cputable.c
@@ -33,7 +33,9 @@ EXPORT_SYMBOL(cur_cpu_spec);
#ifdef CONFIG_PPC32
extern void __setup_cpu_440ep(unsigned long offset, struct cpu_spec* spec);
#if !CLASSIC_PPC
{ /* default match */
.pvr_mask = 0x00000000,
-Index: linux-2.6.24.7/arch/powerpc/kernel/crash.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/crash.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/crash.c
+--- a/arch/powerpc/kernel/crash.c
++++ b/arch/powerpc/kernel/crash.c
@@ -32,6 +32,8 @@
#include <asm/lmb.h>
#include <asm/firmware.h>
/*
* Make a note of crashing cpu. Will be used in machine_kexec
-Index: linux-2.6.24.7/arch/powerpc/kernel/dma_64.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/dma_64.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/dma_64.c
+--- a/arch/powerpc/kernel/dma_64.c
++++ b/arch/powerpc/kernel/dma_64.c
@@ -112,10 +112,16 @@ EXPORT_SYMBOL(dma_iommu_ops);
/*
* Generic direct DMA implementation
sg->dma_length = sg->length;
}
-Index: linux-2.6.24.7/arch/powerpc/kernel/head_44x.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/head_44x.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/head_44x.S
+--- a/arch/powerpc/kernel/head_44x.S
++++ b/arch/powerpc/kernel/head_44x.S
@@ -289,11 +289,8 @@ interrupt_base:
CRITICAL_EXCEPTION(0x0100, CriticalInput, unknown_exception)
* extern void giveup_altivec(struct task_struct *prev)
*
* The 44x core does not have an AltiVec unit.
-Index: linux-2.6.24.7/arch/powerpc/kernel/head_booke.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/head_booke.h
-+++ linux-2.6.24.7/arch/powerpc/kernel/head_booke.h
+--- a/arch/powerpc/kernel/head_booke.h
++++ b/arch/powerpc/kernel/head_booke.h
@@ -166,7 +166,7 @@ label:
mfspr r5,SPRN_ESR; \
stw r5,_ESR(r11); \
NOCOPY, mcheck_transfer_to_handler, \
ret_from_mcheck_exc)
-Index: linux-2.6.24.7/arch/powerpc/kernel/head_fsl_booke.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/head_fsl_booke.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/head_fsl_booke.S
+--- a/arch/powerpc/kernel/head_fsl_booke.S
++++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -73,8 +73,8 @@ _ENTRY(_start);
/* We try to not make any assumptions about how the boot loader
* setup or used the TLBs. We invalidate all mappings from the
lis r7,MSR_KERNEL@h
ori r7,r7,MSR_KERNEL@l
bl 1f /* Find our address */
-Index: linux-2.6.24.7/arch/powerpc/kernel/ibmebus.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/ibmebus.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/ibmebus.c
+--- a/arch/powerpc/kernel/ibmebus.c
++++ b/arch/powerpc/kernel/ibmebus.c
@@ -41,6 +41,7 @@
#include <linux/kobject.h>
#include <linux/dma-mapping.h>
}
EXPORT_SYMBOL(ibmebus_unregister_driver);
-Index: linux-2.6.24.7/arch/powerpc/kernel/iommu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/iommu.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/iommu.c
+--- a/arch/powerpc/kernel/iommu.c
++++ b/arch/powerpc/kernel/iommu.c
@@ -532,16 +532,14 @@ struct iommu_table *iommu_init_table(str
return tbl;
}
break;
}
}
-Index: linux-2.6.24.7/arch/powerpc/kernel/isa-bridge.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/isa-bridge.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/isa-bridge.c
+--- a/arch/powerpc/kernel/isa-bridge.c
++++ b/arch/powerpc/kernel/isa-bridge.c
@@ -108,7 +108,7 @@ static void __devinit pci_process_ISA_OF
if (size > 0x10000)
size = 0x10000;
of_node_put(parent);
break;
}
-Index: linux-2.6.24.7/arch/powerpc/kernel/legacy_serial.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/legacy_serial.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/legacy_serial.c
+--- a/arch/powerpc/kernel/legacy_serial.c
++++ b/arch/powerpc/kernel/legacy_serial.c
@@ -307,7 +307,7 @@ void __init find_legacy_serial_ports(voi
}
*/
DBG("Fixing serial ports interrupts and IO ports ...\n");
-Index: linux-2.6.24.7/arch/powerpc/kernel/lparcfg.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/lparcfg.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/lparcfg.c
+--- a/arch/powerpc/kernel/lparcfg.c
++++ b/arch/powerpc/kernel/lparcfg.c
@@ -41,7 +41,6 @@
/* #define LPARCFG_DEBUG */
}
module_init(lparcfg_init);
-Index: linux-2.6.24.7/arch/powerpc/kernel/misc.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/misc.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/misc.S
+--- a/arch/powerpc/kernel/misc.S
++++ b/arch/powerpc/kernel/misc.S
@@ -8,12 +8,17 @@
* Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com)
* PPC64 updates by Dave Engebretsen (engebret@us.ibm.com)
+ mtlr r0
+ mr r3,r4
+ blr
-Index: linux-2.6.24.7/arch/powerpc/kernel/misc_32.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/misc_32.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/misc_32.S
+--- a/arch/powerpc/kernel/misc_32.S
++++ b/arch/powerpc/kernel/misc_32.S
@@ -206,6 +206,45 @@ _GLOBAL(_nmask_and_or_msr)
isync
blr /* Done */
/*
* This routine is just here to keep GCC happy - sigh...
*/
-Index: linux-2.6.24.7/arch/powerpc/kernel/misc_64.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/misc_64.S
-+++ linux-2.6.24.7/arch/powerpc/kernel/misc_64.S
+--- a/arch/powerpc/kernel/misc_64.S
++++ b/arch/powerpc/kernel/misc_64.S
@@ -518,13 +518,6 @@ _GLOBAL(giveup_altivec)
#endif /* CONFIG_ALTIVEC */
/* kexec_wait(phys_cpu)
*
* wait for the flag to change, indicating this kernel is going away but
-Index: linux-2.6.24.7/arch/powerpc/kernel/module_32.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/module_32.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/module_32.c
+--- a/arch/powerpc/kernel/module_32.c
++++ b/arch/powerpc/kernel/module_32.c
@@ -24,6 +24,7 @@
#include <linux/kernel.h>
#include <linux/cache.h>
ret += count_relocs((void *)hdr
+ sechdrs[i].sh_offset,
sechdrs[i].sh_size
-Index: linux-2.6.24.7/arch/powerpc/kernel/module_64.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/module_64.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/module_64.c
+--- a/arch/powerpc/kernel/module_64.c
++++ b/arch/powerpc/kernel/module_64.c
@@ -24,6 +24,7 @@
#include <asm/module.h>
#include <asm/uaccess.h>
= (*(uint32_t *)location & ~0x03fffffc)
| (value & 0x03fffffc);
break;
-Index: linux-2.6.24.7/arch/powerpc/kernel/of_device.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/of_device.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/of_device.c
+--- a/arch/powerpc/kernel/of_device.c
++++ b/arch/powerpc/kernel/of_device.c
@@ -5,10 +5,10 @@
#include <linux/module.h>
#include <linux/mod_devicetable.h>
static void of_device_make_bus_id(struct of_device *dev)
{
-Index: linux-2.6.24.7/arch/powerpc/kernel/of_platform.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/of_platform.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/of_platform.c
+--- a/arch/powerpc/kernel/of_platform.c
++++ b/arch/powerpc/kernel/of_platform.c
@@ -19,6 +19,7 @@
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
if (!of_match_node(matches, child))
continue;
-Index: linux-2.6.24.7/arch/powerpc/kernel/pci-common.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/pci-common.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/pci-common.c
+--- a/arch/powerpc/kernel/pci-common.c
++++ b/arch/powerpc/kernel/pci-common.c
@@ -48,32 +48,26 @@
static DEFINE_SPINLOCK(hose_spinlock);
+ return 0;
+}
+
-Index: linux-2.6.24.7/arch/powerpc/kernel/pci_32.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/pci_32.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/pci_32.c
+--- a/arch/powerpc/kernel/pci_32.c
++++ b/arch/powerpc/kernel/pci_32.c
@@ -13,6 +13,7 @@
#include <linux/bootmem.h>
#include <linux/irq.h>
hose = pci_bus_to_hose(bus);
if (!hose)
return -ENODEV;
-Index: linux-2.6.24.7/arch/powerpc/kernel/pci_64.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/pci_64.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/pci_64.c
+--- a/arch/powerpc/kernel/pci_64.c
++++ b/arch/powerpc/kernel/pci_64.c
@@ -31,7 +31,6 @@
#include <asm/byteorder.h>
#include <asm/machdep.h>
unsigned long pci_address_to_pio(phys_addr_t address)
{
-Index: linux-2.6.24.7/arch/powerpc/kernel/pci_dn.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/pci_dn.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/pci_dn.c
+--- a/arch/powerpc/kernel/pci_dn.c
++++ b/arch/powerpc/kernel/pci_dn.c
@@ -56,11 +56,6 @@ static void * __devinit update_dn_pci_in
pdn->busno = (regs[0] >> 16) & 0xff;
pdn->devfn = (regs[0] >> 8) & 0xff;
struct pci_dn *pdn;
/* PHB nodes themselves must not match */
-Index: linux-2.6.24.7/arch/powerpc/kernel/ppc_ksyms.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/ppc_ksyms.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/ppc_ksyms.c
+--- a/arch/powerpc/kernel/ppc_ksyms.c
++++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -59,6 +59,7 @@ extern void single_step_exception(struct
extern int sys_sigreturn(struct pt_regs *regs);
EXPORT_SYMBOL(ISA_DMA_THRESHOLD);
EXPORT_SYMBOL(DMA_MODE_READ);
EXPORT_SYMBOL(DMA_MODE_WRITE);
-Index: linux-2.6.24.7/arch/powerpc/kernel/prom.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/prom.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/prom.c
+--- a/arch/powerpc/kernel/prom.c
++++ b/arch/powerpc/kernel/prom.c
@@ -583,6 +583,20 @@ static void __init check_cpu_pa_features
ibm_pa_features, ARRAY_SIZE(ibm_pa_features));
}
#ifdef CONFIG_PPC_PSERIES
if (nthreads > 1)
-Index: linux-2.6.24.7/arch/powerpc/kernel/prom_parse.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/prom_parse.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/prom_parse.c
+--- a/arch/powerpc/kernel/prom_parse.c
++++ b/arch/powerpc/kernel/prom_parse.c
@@ -273,7 +273,7 @@ int of_irq_map_pci(struct pci_dev *pdev,
#else
struct pci_controller *host;
const u32 *of_get_address(struct device_node *dev, int index, u64 *size,
unsigned int *flags)
{
-Index: linux-2.6.24.7/arch/powerpc/kernel/rio.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/kernel/rio.c
++++ b/arch/powerpc/kernel/rio.c
@@ -0,0 +1,52 @@
+/*
+ * RapidIO PPC32 support
+}
+
+subsys_initcall(ppc_rio_init);
-Index: linux-2.6.24.7/arch/powerpc/kernel/rtas_pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/rtas_pci.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/rtas_pci.c
+--- a/arch/powerpc/kernel/rtas_pci.c
++++ b/arch/powerpc/kernel/rtas_pci.c
@@ -260,7 +260,7 @@ static int phb_set_bus_ranges(struct dev
int __devinit rtas_setup_phb(struct pci_controller *phb)
}
}
-Index: linux-2.6.24.7/arch/powerpc/kernel/setup-common.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/setup-common.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/setup-common.c
+--- a/arch/powerpc/kernel/setup-common.c
++++ b/arch/powerpc/kernel/setup-common.c
@@ -33,6 +33,7 @@
#include <linux/serial.h>
#include <linux/serial_8250.h>
#endif /* CONFIG_PPC64 */
}
#endif /* CONFIG_SMP */
-Index: linux-2.6.24.7/arch/powerpc/kernel/signal_32.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/signal_32.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/signal_32.c
+--- a/arch/powerpc/kernel/signal_32.c
++++ b/arch/powerpc/kernel/signal_32.c
@@ -24,13 +24,12 @@
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/stddef.h>
#include <linux/tty.h>
-Index: linux-2.6.24.7/arch/powerpc/kernel/smp.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/smp.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/smp.c
+--- a/arch/powerpc/kernel/smp.c
++++ b/arch/powerpc/kernel/smp.c
@@ -76,6 +76,8 @@ void smp_call_function_interrupt(void);
int smt_enabled_at_boot = 1;
}
void smp_call_function_interrupt(void)
-Index: linux-2.6.24.7/arch/powerpc/kernel/systbl_chk.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/kernel/systbl_chk.c
++++ b/arch/powerpc/kernel/systbl_chk.c
@@ -0,0 +1,58 @@
+/*
+ * This file, when run through CPP produces a list of syscall numbers
+START_TABLE
+#include <asm/systbl.h>
+END_TABLE __NR_syscalls
-Index: linux-2.6.24.7/arch/powerpc/kernel/systbl_chk.sh
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/kernel/systbl_chk.sh
++++ b/arch/powerpc/kernel/systbl_chk.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+ };
+ num++;
+ }' "$1"
-Index: linux-2.6.24.7/arch/powerpc/kernel/time.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/time.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/time.c
+--- a/arch/powerpc/kernel/time.c
++++ b/arch/powerpc/kernel/time.c
@@ -116,9 +116,12 @@ static struct clock_event_device decreme
.features = CLOCK_EVT_FEAT_ONESHOT,
};
{
int cpu = smp_processor_id();
-Index: linux-2.6.24.7/arch/powerpc/kernel/traps.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/traps.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/traps.c
+--- a/arch/powerpc/kernel/traps.c
++++ b/arch/powerpc/kernel/traps.c
@@ -334,18 +334,25 @@ static inline int check_io_access(struct
#define clear_single_step(regs) ((regs)->msr &= ~MSR_SE)
#endif
return -EINVAL;
}
-Index: linux-2.6.24.7/arch/powerpc/kernel/udbg.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/udbg.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/udbg.c
+--- a/arch/powerpc/kernel/udbg.c
++++ b/arch/powerpc/kernel/udbg.c
@@ -54,9 +54,16 @@ void __init udbg_early_init(void)
#elif defined(CONFIG_PPC_EARLY_DEBUG_44x)
/* PPC44x debug */
}
/* udbg library, used by xmon et al */
-Index: linux-2.6.24.7/arch/powerpc/kernel/udbg_16550.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/kernel/udbg_16550.c
-+++ linux-2.6.24.7/arch/powerpc/kernel/udbg_16550.c
+--- a/arch/powerpc/kernel/udbg_16550.c
++++ b/arch/powerpc/kernel/udbg_16550.c
@@ -46,7 +46,7 @@ struct NS16550 {
#define LCR_DLAB 0x80
+ udbg_getc_poll = NULL;
+}
+#endif /* CONFIG_PPC_EARLY_DEBUG_40x */
-Index: linux-2.6.24.7/arch/powerpc/math-emu/op-4.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/math-emu/op-4.h
-+++ linux-2.6.24.7/arch/powerpc/math-emu/op-4.h
+--- a/arch/powerpc/math-emu/op-4.h
++++ b/arch/powerpc/math-emu/op-4.h
@@ -194,19 +194,39 @@
(X##_f[3] = I3, X##_f[2] = I2, X##_f[1] = I1, X##_f[0] = I0)
#endif
#ifndef __FP_FRAC_ADDI_4
-Index: linux-2.6.24.7/arch/powerpc/mm/fault.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/fault.c
-+++ linux-2.6.24.7/arch/powerpc/mm/fault.c
+--- a/arch/powerpc/mm/fault.c
++++ b/arch/powerpc/mm/fault.c
@@ -167,10 +167,8 @@ int __kprobes do_page_fault(struct pt_re
if (notify_page_fault(regs))
return 0;
"in_atomic() = %d mm = %p\n", in_atomic(), mm);
printk(KERN_EMERG "NIP = %lx MSR = %lx\n",
regs->nip, regs->msr);
-Index: linux-2.6.24.7/arch/powerpc/mm/fsl_booke_mmu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/fsl_booke_mmu.c
-+++ linux-2.6.24.7/arch/powerpc/mm/fsl_booke_mmu.c
+--- a/arch/powerpc/mm/fsl_booke_mmu.c
++++ b/arch/powerpc/mm/fsl_booke_mmu.c
@@ -165,15 +165,15 @@ void invalidate_tlbcam_entry(int index)
void __init cam_mapin_ram(unsigned long cam0, unsigned long cam1,
unsigned long cam2)
}
}
-Index: linux-2.6.24.7/arch/powerpc/mm/hash_utils_64.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/hash_utils_64.c
-+++ linux-2.6.24.7/arch/powerpc/mm/hash_utils_64.c
+--- a/arch/powerpc/mm/hash_utils_64.c
++++ b/arch/powerpc/mm/hash_utils_64.c
@@ -96,6 +96,7 @@ int mmu_vmalloc_psize = MMU_PAGE_4K;
int mmu_io_psize = MMU_PAGE_4K;
int mmu_kernel_ssize = MMU_SEGSIZE_256M;
#endif /* CONFIG_HUGETLB_PAGE */
}
-Index: linux-2.6.24.7/arch/powerpc/mm/hugetlbpage.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/hugetlbpage.c
-+++ linux-2.6.24.7/arch/powerpc/mm/hugetlbpage.c
+--- a/arch/powerpc/mm/hugetlbpage.c
++++ b/arch/powerpc/mm/hugetlbpage.c
@@ -24,18 +24,17 @@
#include <asm/cputable.h>
#include <asm/spu.h>
static void zero_ctor(struct kmem_cache *cache, void *addr)
{
memset(addr, 0, kmem_cache_size(cache));
-Index: linux-2.6.24.7/arch/powerpc/mm/lmb.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/lmb.c
-+++ linux-2.6.24.7/arch/powerpc/mm/lmb.c
+--- a/arch/powerpc/mm/lmb.c
++++ b/arch/powerpc/mm/lmb.c
@@ -342,3 +342,16 @@ void __init lmb_enforce_memory_limit(uns
}
}
+ }
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/mm/mem.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/mem.c
-+++ linux-2.6.24.7/arch/powerpc/mm/mem.c
+--- a/arch/powerpc/mm/mem.c
++++ b/arch/powerpc/mm/mem.c
@@ -213,15 +213,30 @@ void __init do_init_bootmem(void)
*/
#ifdef CONFIG_HIGHMEM
}
totalram_pages += totalhigh_pages;
printk(KERN_DEBUG "High memory: %luk\n",
-Index: linux-2.6.24.7/arch/powerpc/mm/slb.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/slb.c
-+++ linux-2.6.24.7/arch/powerpc/mm/slb.c
+--- a/arch/powerpc/mm/slb.c
++++ b/arch/powerpc/mm/slb.c
@@ -256,6 +256,7 @@ void slb_initialize(void)
static int slb_encoding_inited;
extern unsigned int *slb_miss_kernel_load_linear;
DBG("SLB: linear LLP = %04x\n", linear_llp);
DBG("SLB: io LLP = %04x\n", io_llp);
-Index: linux-2.6.24.7/arch/powerpc/mm/slb_low.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/mm/slb_low.S
-+++ linux-2.6.24.7/arch/powerpc/mm/slb_low.S
+--- a/arch/powerpc/mm/slb_low.S
++++ b/arch/powerpc/mm/slb_low.S
@@ -227,8 +227,9 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISER
7: ld r10,PACASTABRR(r13)
blt+ 4f
li r10,SLB_NUM_BOLTED
-Index: linux-2.6.24.7/arch/powerpc/oprofile/op_model_cell.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/oprofile/op_model_cell.c
-+++ linux-2.6.24.7/arch/powerpc/oprofile/op_model_cell.c
+--- a/arch/powerpc/oprofile/op_model_cell.c
++++ b/arch/powerpc/oprofile/op_model_cell.c
@@ -61,7 +61,7 @@ static unsigned int spu_cycle_reset;
#define NUM_THREADS 2 /* number of physical threads in
* physical processor
for (i = 0; i < NUM_INPUT_BUS_WORDS; i++)
input_bus[i] = 0xff;
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/40x/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/Kconfig
+--- a/arch/powerpc/platforms/40x/Kconfig
++++ b/arch/powerpc/platforms/40x/Kconfig
@@ -14,28 +14,34 @@
# help
# This option enables support for the CPCI405 board.
config 405GPR
bool
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/40x/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/Makefile
+--- a/arch/powerpc/platforms/40x/Makefile
++++ b/arch/powerpc/platforms/40x/Makefile
@@ -1,3 +1,5 @@
obj-$(CONFIG_KILAUEA) += kilauea.o
+obj-$(CONFIG_MAKALU) += makalu.o
obj-$(CONFIG_WALNUT) += walnut.o
obj-$(CONFIG_XILINX_VIRTEX_GENERIC_BOARD) += virtex.o
+obj-$(CONFIG_EP405) += ep405.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/ep405.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/ep405.c
++++ b/arch/powerpc/platforms/40x/ep405.c
@@ -0,0 +1,123 @@
+/*
+ * Architecture- / platform-specific boot-time initialization code for
+ .get_irq = uic_get_irq,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/kilauea.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/40x/kilauea.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/kilauea.c
+--- a/arch/powerpc/platforms/40x/kilauea.c
++++ b/arch/powerpc/platforms/40x/kilauea.c
@@ -19,8 +19,9 @@
#include <asm/udbg.h>
#include <asm/time.h>
return 1;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/makalu.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/makalu.c
++++ b/arch/powerpc/platforms/40x/makalu.c
@@ -0,0 +1,58 @@
+/*
+ * Makalu board specific routines
+ .get_irq = uic_get_irq,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/virtex.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/40x/virtex.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/virtex.c
+--- a/arch/powerpc/platforms/40x/virtex.c
++++ b/arch/powerpc/platforms/40x/virtex.c
@@ -15,16 +15,23 @@
#include <asm/time.h>
#include <asm/xilinx_intc.h>
static int __init virtex_probe(void)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/40x/walnut.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/40x/walnut.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/40x/walnut.c
+--- a/arch/powerpc/platforms/40x/walnut.c
++++ b/arch/powerpc/platforms/40x/walnut.c
@@ -24,8 +24,9 @@
#include <asm/udbg.h>
#include <asm/time.h>
return 1;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/44x/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/Kconfig
+--- a/arch/powerpc/platforms/44x/Kconfig
++++ b/arch/powerpc/platforms/44x/Kconfig
@@ -3,6 +3,7 @@ config BAMBOO
depends on 44x
default n
# 44x errata/workaround config symbols, selected by the CPU models above
config IBM440EP_ERR42
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/44x/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/Makefile
+--- a/arch/powerpc/platforms/44x/Makefile
++++ b/arch/powerpc/platforms/44x/Makefile
@@ -1,4 +1,9 @@
obj-$(CONFIG_44x) := misc_44x.o
obj-$(CONFIG_EBONY) += ebony.o
+obj-$(CONFIG_RAINIER) += rainier.o
+obj-$(CONFIG_WARP) += warp.o
+obj-$(CONFIG_WARP) += warp-nand.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/bamboo.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/44x/bamboo.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/bamboo.c
+--- a/arch/powerpc/platforms/44x/bamboo.c
++++ b/arch/powerpc/platforms/44x/bamboo.c
@@ -21,9 +21,11 @@
#include <asm/udbg.h>
#include <asm/time.h>
return 1;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/ebony.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/44x/ebony.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/ebony.c
+--- a/arch/powerpc/platforms/44x/ebony.c
++++ b/arch/powerpc/platforms/44x/ebony.c
@@ -18,16 +18,18 @@
#include <linux/init.h>
return 1;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/katmai.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/katmai.c
++++ b/arch/powerpc/platforms/44x/katmai.c
@@ -0,0 +1,63 @@
+/*
+ * Katmai board specific routines
+ .restart = ppc44x_reset_system,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/rainier.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/rainier.c
++++ b/arch/powerpc/platforms/44x/rainier.c
@@ -0,0 +1,62 @@
+/*
+ * Rainier board specific routines
+ .restart = ppc44x_reset_system,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/sequoia.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/44x/sequoia.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/sequoia.c
+--- a/arch/powerpc/platforms/44x/sequoia.c
++++ b/arch/powerpc/platforms/44x/sequoia.c
@@ -21,9 +21,11 @@
#include <asm/udbg.h>
#include <asm/time.h>
return 1;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/taishan.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/taishan.c
++++ b/arch/powerpc/platforms/44x/taishan.c
@@ -0,0 +1,73 @@
+/*
+ * Taishan board specific routines based off ebony.c code
+ .restart = ppc44x_reset_system,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/warp-nand.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/warp-nand.c
++++ b/arch/powerpc/platforms/44x/warp-nand.c
@@ -0,0 +1,105 @@
+/*
+ * PIKA Warp(tm) NAND flash specific routines
+device_initcall(warp_setup_nand_flash);
+
+#endif
-Index: linux-2.6.24.7/arch/powerpc/platforms/44x/warp.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/44x/warp.c
++++ b/arch/powerpc/platforms/44x/warp.c
@@ -0,0 +1,153 @@
+/*
+ * PIKA Warp(tm) board specific routines
+}
+device_initcall(pika_dtm_start);
+#endif
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/Kconfig
+--- a/arch/powerpc/platforms/52xx/Kconfig
++++ b/arch/powerpc/platforms/52xx/Kconfig
@@ -19,6 +19,28 @@ config PPC_MPC5200_BUGFIX
It is safe to say 'Y' here
default n
-
-
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/Makefile
+--- a/arch/powerpc/platforms/52xx/Makefile
++++ b/arch/powerpc/platforms/52xx/Makefile
@@ -6,6 +6,7 @@ obj-y += mpc52xx_pic.o mpc52xx_common
obj-$(CONFIG_PCI) += mpc52xx_pci.o
endif
obj-$(CONFIG_PPC_EFIKA) += efika.o
obj-$(CONFIG_PPC_LITE5200) += lite5200.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/lite5200.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/lite5200.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/lite5200.c
+--- a/arch/powerpc/platforms/52xx/lite5200.c
++++ b/arch/powerpc/platforms/52xx/lite5200.c
@@ -42,10 +42,13 @@
static void __init
lite5200_fix_clock_config(void)
}
/*
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/lite5200_pm.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/lite5200_pm.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/lite5200_pm.c
+--- a/arch/powerpc/platforms/52xx/lite5200_pm.c
++++ b/arch/powerpc/platforms/52xx/lite5200_pm.c
@@ -42,6 +42,8 @@ static int lite5200_pm_set_target(suspen
static int lite5200_pm_prepare(void)
if (!mbar) {
printk(KERN_ERR "%s:%i Error mapping registers\n", __func__, __LINE__);
return -ENOSYS;
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc5200_simple.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc5200_simple.c
++++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c
@@ -0,0 +1,85 @@
+/*
+ * Support for 'mpc5200-simple-platform' compatible boards.
+ .restart = mpc52xx_restart,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_common.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/mpc52xx_common.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_common.c
+--- a/arch/powerpc/platforms/52xx/mpc52xx_common.c
++++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c
@@ -26,45 +26,6 @@
*/
static volatile struct mpc52xx_gpt *mpc52xx_wdt = NULL;
}
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/mpc52xx_pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pci.c
+--- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c
++++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c
@@ -363,7 +363,7 @@ mpc52xx_add_bridge(struct device_node *n
pr_debug("Adding MPC52xx PCI host bridge %s\n", node->full_name);
+ mpc52xx_add_bridge(pci);
+ of_node_put(pci);
+}
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/mpc52xx_pic.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pic.c
+--- a/arch/powerpc/platforms/52xx/mpc52xx_pic.c
++++ b/arch/powerpc/platforms/52xx/mpc52xx_pic.c
@@ -364,16 +364,18 @@ void __init mpc52xx_init_irq(void)
{
u32 intr_ctrl;
if (!sdma)
panic(__FILE__ ": find_and_map failed on 'mpc5200-bestcomm'. "
"Check node !");
-Index: linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pm.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/52xx/mpc52xx_pm.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/52xx/mpc52xx_pm.c
+--- a/arch/powerpc/platforms/52xx/mpc52xx_pm.c
++++ b/arch/powerpc/platforms/52xx/mpc52xx_pm.c
@@ -59,10 +59,14 @@ int mpc52xx_set_wakeup_gpio(u8 pin, u8 l
int mpc52xx_pm_prepare(void)
return -ENOSYS;
}
/* these offsets are from mpc5200 users manual */
-Index: linux-2.6.24.7/arch/powerpc/platforms/82xx/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/82xx/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/82xx/Kconfig
+--- a/arch/powerpc/platforms/82xx/Kconfig
++++ b/arch/powerpc/platforms/82xx/Kconfig
@@ -26,6 +26,19 @@ config PQ2FADS
help
This option enables support for the PQ2FADS board
endchoice
config PQ2ADS
-Index: linux-2.6.24.7/arch/powerpc/platforms/82xx/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/82xx/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/82xx/Makefile
+--- a/arch/powerpc/platforms/82xx/Makefile
++++ b/arch/powerpc/platforms/82xx/Makefile
@@ -5,3 +5,4 @@ obj-$(CONFIG_MPC8272_ADS) += mpc8272_ads
obj-$(CONFIG_CPM2) += pq2.o
obj-$(CONFIG_PQ2_ADS_PCI_PIC) += pq2ads-pci-pic.o
obj-$(CONFIG_PQ2FADS) += pq2fads.o
+obj-$(CONFIG_EP8248E) += ep8248e.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/82xx/ep8248e.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/82xx/ep8248e.c
++++ b/arch/powerpc/platforms/82xx/ep8248e.c
@@ -0,0 +1,324 @@
+/*
+ * Embedded Planet EP8248E support
+ .restart = pq2_restart,
+ .progress = udbg_progress,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/82xx/pq2.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/82xx/pq2.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/82xx/pq2.c
+--- a/arch/powerpc/platforms/82xx/pq2.c
++++ b/arch/powerpc/platforms/82xx/pq2.c
@@ -53,13 +53,13 @@ static void __init pq2_pci_add_bridge(st
if (of_address_to_resource(np, 0, &r) || r.end - r.start < 0x10b)
goto err;
setup_indirect_pci(hose, r.start + 0x100, r.start + 0x104, 0);
pci_process_bridge_OF_ranges(hose, np, 1);
-Index: linux-2.6.24.7/arch/powerpc/platforms/82xx/pq2fads.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/82xx/pq2fads.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/82xx/pq2fads.c
+--- a/arch/powerpc/platforms/82xx/pq2fads.c
++++ b/arch/powerpc/platforms/82xx/pq2fads.c
@@ -15,12 +15,12 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/time.h>
#include <sysdev/fsl_soc.h>
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/Kconfig
+--- a/arch/powerpc/platforms/83xx/Kconfig
++++ b/arch/powerpc/platforms/83xx/Kconfig
@@ -50,6 +50,11 @@ config MPC836x_MDS
help
This option enables support for the MPC836x MDS Processor Board.
+ select PPC_UDBG_16550
+ select PPC_INDIRECT_PCI
+ default y if MPC837x_MDS
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/Makefile
+--- a/arch/powerpc/platforms/83xx/Makefile
++++ b/arch/powerpc/platforms/83xx/Makefile
@@ -9,3 +9,4 @@ obj-$(CONFIG_MPC834x_MDS) += mpc834x_mds
obj-$(CONFIG_MPC834x_ITX) += mpc834x_itx.o
obj-$(CONFIG_MPC836x_MDS) += mpc836x_mds.o
obj-$(CONFIG_MPC832x_MDS) += mpc832x_mds.o
+obj-$(CONFIG_MPC837x_MDS) += mpc837x_mds.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc8313_rdb.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc8313_rdb.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc8313_rdb.c
+--- a/arch/powerpc/platforms/83xx/mpc8313_rdb.c
++++ b/arch/powerpc/platforms/83xx/mpc8313_rdb.c
@@ -14,6 +14,7 @@
*/
define_machine(mpc8313_rdb) {
.name = "MPC8313 RDB",
.probe = mpc8313_rdb_probe,
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc832x_mds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc832x_mds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc832x_mds.c
+--- a/arch/powerpc/platforms/83xx/mpc832x_mds.c
++++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c
@@ -23,9 +23,9 @@
#include <linux/seq_file.h>
#include <linux/root_dev.h>
static void __init mpc832x_sys_init_IRQ(void)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc832x_rdb.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc832x_rdb.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc832x_rdb.c
+--- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c
++++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c
@@ -19,8 +19,8 @@
#include <linux/spi/spi.h>
#include <linux/spi/mmc_spi.h>
void __init mpc832x_rdb_init_IRQ(void)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc834x_itx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc834x_itx.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc834x_itx.c
+--- a/arch/powerpc/platforms/83xx/mpc834x_itx.c
++++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c
@@ -23,6 +23,7 @@
#include <linux/delay.h>
#include <linux/seq_file.h>
/* ************************************************************************
*
* Setup the architecture
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc834x_mds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc834x_mds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc834x_mds.c
+--- a/arch/powerpc/platforms/83xx/mpc834x_mds.c
++++ b/arch/powerpc/platforms/83xx/mpc834x_mds.c
@@ -23,6 +23,7 @@
#include <linux/delay.h>
#include <linux/seq_file.h>
}
define_machine(mpc834x_mds) {
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc836x_mds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc836x_mds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc836x_mds.c
+--- a/arch/powerpc/platforms/83xx/mpc836x_mds.c
++++ b/arch/powerpc/platforms/83xx/mpc836x_mds.c
@@ -29,9 +29,9 @@
#include <linux/seq_file.h>
#include <linux/root_dev.h>
static void __init mpc836x_mds_init_IRQ(void)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc837x_mds.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc837x_mds.c
++++ b/arch/powerpc/platforms/83xx/mpc837x_mds.c
@@ -0,0 +1,147 @@
+/*
+ * arch/powerpc/platforms/83xx/mpc837x_mds.c
+ .calibrate_decr = generic_calibrate_decr,
+ .progress = udbg_progress,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc83xx.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/mpc83xx.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/mpc83xx.h
+--- a/arch/powerpc/platforms/83xx/mpc83xx.h
++++ b/arch/powerpc/platforms/83xx/mpc83xx.h
@@ -14,6 +14,7 @@
#define MPC83XX_SCCR_USB_DRCM_11 0x00300000
#define MPC83XX_SCCR_USB_DRCM_01 0x00100000
/* system i/o configuration register high */
#define MPC83XX_SICRH_OFFS 0x118
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/pci.c
+--- a/arch/powerpc/platforms/83xx/pci.c
++++ b/arch/powerpc/platforms/83xx/pci.c
@@ -54,7 +54,7 @@ int __init mpc83xx_add_bridge(struct dev
" bus 0\n", dev->full_name);
}
hose = pcibios_alloc_controller(dev);
if (!hose)
return -ENOMEM;
-Index: linux-2.6.24.7/arch/powerpc/platforms/83xx/usb.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/83xx/usb.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/83xx/usb.c
+--- a/arch/powerpc/platforms/83xx/usb.c
++++ b/arch/powerpc/platforms/83xx/usb.c
@@ -41,7 +41,7 @@ int mpc834x_usb_cfg(void)
sicrl = in_be32(immap + MPC83XX_SICRL_OFFS) & ~MPC834X_SICRL_USB_MASK;
sicrh = in_be32(immap + MPC83XX_SICRH_OFFS) & ~MPC834X_SICRH_USB_UTMI;
+ return ret;
+}
+#endif /* CONFIG_PPC_MPC837x */
-Index: linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_ads.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/85xx/mpc85xx_ads.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_ads.c
+--- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c
++++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c
@@ -52,9 +52,9 @@ static void cpm2_cascade(unsigned int ir
{
int cascade_irq;
/*
* Called very early, device-tree isn't unflattened
-Index: linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_cds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/85xx/mpc85xx_cds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_cds.c
+--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
++++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
@@ -222,9 +222,6 @@ static int mpc85xx_cds_8259_attach(void)
struct device_node *cascade_node = NULL;
int cascade_irq;
#endif /* CONFIG_PPC_I8259 */
-Index: linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_ds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/85xx/mpc85xx_ds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_ds.c
+--- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c
++++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
@@ -123,7 +123,7 @@ static int mpc85xx_exclude_device(struct
struct device_node* node;
struct resource rsrc;
of_address_to_resource(node, 0, &rsrc);
if ((rsrc.start & 0xfffff) == primary_phb_addr) {
-Index: linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_mds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/85xx/mpc85xx_mds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/85xx/mpc85xx_mds.c
+--- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c
++++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c
@@ -30,9 +30,9 @@
#include <linux/initrd.h>
#include <linux/module.h>
static void __init mpc85xx_mds_pic_init(void)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
+--- a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
++++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
@@ -34,9 +34,24 @@
#include <asm/mpic.h>
struct of_irq oirq;
int virq, pin = 2;
u32 laddr[3];
-Index: linux-2.6.24.7/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
++++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -18,6 +18,7 @@
#include <linux/kdev_t.h>
#include <linux/delay.h>
define_machine(mpc86xx_hpcn) {
.name = "MPC86xx HPCN",
.probe = mpc86xx_hpcn_probe,
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/Kconfig
+--- a/arch/powerpc/platforms/8xx/Kconfig
++++ b/arch/powerpc/platforms/8xx/Kconfig
@@ -18,6 +18,7 @@ config MPC8XXFADS
config MPC86XADS
bool "MPC86XADS"
endchoice
menu "Freescale Ethernet driver platform-specific options"
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/Makefile
+--- a/arch/powerpc/platforms/8xx/Makefile
++++ b/arch/powerpc/platforms/8xx/Makefile
@@ -5,3 +5,4 @@ obj-$(CONFIG_PPC_8xx) += m8xx_setup.o
obj-$(CONFIG_MPC885ADS) += mpc885ads_setup.o
obj-$(CONFIG_MPC86XADS) += mpc86xads_setup.o
obj-$(CONFIG_PPC_EP88XC) += ep88xc.o
+obj-$(CONFIG_PPC_ADDER875) += adder875.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/adder875.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/adder875.c
++++ b/arch/powerpc/platforms/8xx/adder875.c
@@ -0,0 +1,118 @@
+/* Analogue & Micro Adder MPC875 board support
+ *
+ .get_rtc_time = mpc8xx_get_rtc_time,
+ .progress = udbg_progress,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/ep88xc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/ep88xc.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/ep88xc.c
+--- a/arch/powerpc/platforms/8xx/ep88xc.c
++++ b/arch/powerpc/platforms/8xx/ep88xc.c
@@ -155,12 +155,11 @@ static struct of_device_id __initdata of
static int __init declare_of_platform_devices(void)
{
define_machine(ep88xc) {
.name = "Embedded Planet EP88xC",
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/m8xx_setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/m8xx_setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/m8xx_setup.c
+--- a/arch/powerpc/platforms/8xx/m8xx_setup.c
++++ b/arch/powerpc/platforms/8xx/m8xx_setup.c
@@ -120,7 +120,7 @@ void __init mpc8xx_calibrate_decr(void)
ppc_tb_freq /= 16;
ppc_proc_freq = 50000000;
"(not found)\n");
printk("Decrementer Frequency = 0x%lx\n", ppc_tb_freq);
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc86xads.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/mpc86xads.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc86xads.h
+--- a/arch/powerpc/platforms/8xx/mpc86xads.h
++++ b/arch/powerpc/platforms/8xx/mpc86xads.h
@@ -15,27 +15,6 @@
#ifndef __ASM_MPC86XADS_H__
#define __ASM_MPC86XADS_H__
-
#endif /* __ASM_MPC86XADS_H__ */
#endif /* __KERNEL__ */
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc86xads_setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/mpc86xads_setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc86xads_setup.c
+--- a/arch/powerpc/platforms/8xx/mpc86xads_setup.c
++++ b/arch/powerpc/platforms/8xx/mpc86xads_setup.c
@@ -6,264 +6,133 @@
*
* Copyright 2005 MontaVista Software Inc.
.get_rtc_time = mpc8xx_get_rtc_time,
+ .progress = udbg_progress,
};
-Index: linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc885ads_setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/8xx/mpc885ads_setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/8xx/mpc885ads_setup.c
+--- a/arch/powerpc/platforms/8xx/mpc885ads_setup.c
++++ b/arch/powerpc/platforms/8xx/mpc885ads_setup.c
@@ -264,12 +264,11 @@ static struct of_device_id __initdata of
static int __init declare_of_platform_devices(void)
{
define_machine(mpc885_ads) {
.name = "Freescale MPC885 ADS",
-Index: linux-2.6.24.7/arch/powerpc/platforms/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/Kconfig
+--- a/arch/powerpc/platforms/Kconfig
++++ b/arch/powerpc/platforms/Kconfig
@@ -22,6 +22,7 @@ config PPC_83xx
depends on 6xx
select FSL_SOC
source "arch/powerpc/sysdev/bestcomm/Kconfig"
endmenu
-Index: linux-2.6.24.7/arch/powerpc/platforms/Kconfig.cputype
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/Kconfig.cputype
-+++ linux-2.6.24.7/arch/powerpc/platforms/Kconfig.cputype
+--- a/arch/powerpc/platforms/Kconfig.cputype
++++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -43,6 +43,7 @@ config 40x
bool "AMCC 40x"
select PPC_DCR_NATIVE
config 44x
bool "AMCC 44x"
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/Makefile
+--- a/arch/powerpc/platforms/cell/Makefile
++++ b/arch/powerpc/platforms/cell/Makefile
@@ -20,7 +20,7 @@ spu-manage-$(CONFIG_PPC_CELL_NATIVE) +=
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
$(spu-priv1-y) \
$(spu-manage-y) \
spufs/
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_cpufreq.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/cbe_cpufreq.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_cpufreq.c
+--- a/arch/powerpc/platforms/cell/cbe_cpufreq.c
++++ b/arch/powerpc/platforms/cell/cbe_cpufreq.c
@@ -21,8 +21,9 @@
*/
#include <asm/prom.h>
#include <asm/cell-regs.h>
#include "cbe_cpufreq.h"
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
+--- a/arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
++++ b/arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
@@ -23,7 +23,8 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/prom.h>
#include <asm/pmi.h>
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_regs.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/cbe_regs.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/cbe_regs.c
+--- a/arch/powerpc/platforms/cell/cbe_regs.c
++++ b/arch/powerpc/platforms/cell/cbe_regs.c
@@ -9,13 +9,13 @@
#include <linux/percpu.h>
#include <linux/types.h>
return;
}
map->cpu_node = cpu;
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/io-workarounds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/io-workarounds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/io-workarounds.c
+--- a/arch/powerpc/platforms/cell/io-workarounds.c
++++ b/arch/powerpc/platforms/cell/io-workarounds.c
@@ -238,7 +238,7 @@ static void __init spider_pci_setup_chip
static void __init spider_pci_add_one(struct pci_controller *phb)
{
}
-arch_initcall(spider_pci_workaround_init);
+machine_arch_initcall(cell, spider_pci_workaround_init);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/iommu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/iommu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/iommu.c
+--- a/arch/powerpc/platforms/cell/iommu.c
++++ b/arch/powerpc/platforms/cell/iommu.c
@@ -26,14 +26,15 @@
#include <linux/init.h>
#include <linux/interrupt.h>
+machine_arch_initcall(cell, cell_iommu_init);
+machine_arch_initcall(celleb_native, cell_iommu_init);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/pmu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/pmu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/pmu.c
+--- a/arch/powerpc/platforms/cell/pmu.c
++++ b/arch/powerpc/platforms/cell/pmu.c
@@ -213,7 +213,7 @@ u32 cbe_read_pm(u32 cpu, enum pm_reg_nam
break;
void cbe_sync_irq(int node)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/setup.c
+--- a/arch/powerpc/platforms/cell/setup.c
++++ b/arch/powerpc/platforms/cell/setup.c
@@ -30,6 +30,7 @@
#include <linux/console.h>
#include <linux/mutex.h>
static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/smp.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/smp.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/smp.c
+--- a/arch/powerpc/platforms/cell/smp.c
++++ b/arch/powerpc/platforms/cell/smp.c
@@ -42,6 +42,7 @@
#include <asm/firmware.h>
#include <asm/system.h>
return 0;
return 1;
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spu_base.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spu_base.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spu_base.c
+--- a/arch/powerpc/platforms/cell/spu_base.c
++++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -34,6 +34,7 @@
#include <linux/linux_logo.h>
#include <asm/spu.h>
}
EXPORT_SYMBOL_GPL(spu_add_sysdev_attr_group);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spu_fault.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spu_fault.c
++++ b/arch/powerpc/platforms/cell/spu_fault.c
@@ -0,0 +1,98 @@
+/*
+ * SPU mm fault handler
+ return -EFAULT;
+}
+EXPORT_SYMBOL_GPL(spu_handle_mm_fault);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spu_manage.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spu_manage.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spu_manage.c
+--- a/arch/powerpc/platforms/cell/spu_manage.c
++++ b/arch/powerpc/platforms/cell/spu_manage.c
@@ -35,6 +35,7 @@
#include <asm/firmware.h>
#include <asm/prom.h>
+ .disable_spu = disable_spu_by_master_run,
.init_affinity = init_affinity,
};
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/Makefile
+--- a/arch/powerpc/platforms/cell/spufs/Makefile
++++ b/arch/powerpc/platforms/cell/spufs/Makefile
@@ -1,8 +1,8 @@
-obj-y += switch.o fault.o lscsa_alloc.o
# Rules to build switch.o with the help of SPU tool chain
SPU_CROSS := spu-
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/backing_ops.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/backing_ops.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/backing_ops.c
+--- a/arch/powerpc/platforms/cell/spufs/backing_ops.c
++++ b/arch/powerpc/platforms/cell/spufs/backing_ops.c
@@ -106,16 +106,20 @@ static unsigned int spu_backing_mbox_sta
if (stat & 0xff0000)
ret |= POLLIN | POLLRDNORM;
.master_start = spu_backing_master_start,
.master_stop = spu_backing_master_stop,
.set_mfc_query = spu_backing_set_mfc_query,
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/context.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/context.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/context.c
+--- a/arch/powerpc/platforms/cell/spufs/context.c
++++ b/arch/powerpc/platforms/cell/spufs/context.c
@@ -52,6 +52,7 @@ struct spu_context *alloc_spu_context(st
init_waitqueue_head(&ctx->wbox_wq);
init_waitqueue_head(&ctx->stop_wq);
}
/**
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/coredump.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/coredump.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/coredump.c
+--- a/arch/powerpc/platforms/cell/spufs/coredump.c
++++ b/arch/powerpc/platforms/cell/spufs/coredump.c
@@ -148,7 +148,9 @@ int spufs_coredump_extra_notes_size(void
fd = 0;
for (j = 0; spufs_coredump_read[j].name != NULL; j++) {
rc = spufs_arch_write_note(ctx, j, file, fd, foffset);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/fault.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/fault.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/fault.c
+--- a/arch/powerpc/platforms/cell/spufs/fault.c
++++ b/arch/powerpc/platforms/cell/spufs/fault.c
@@ -28,117 +28,71 @@
#include "spufs.h"
return ret;
}
-EXPORT_SYMBOL_GPL(spufs_handle_class1);
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/file.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/file.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/file.c
+--- a/arch/powerpc/platforms/cell/spufs/file.c
++++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -40,6 +40,120 @@
#define SPUFS_MMAP_4K (PAGE_SIZE == 0x1000)
seq_printf(s, "%s %llu %llu %llu %llu "
"%llu %llu %llu %llu %llu %llu %llu %llu\n",
ctx_state_names[ctx->stats.util_state],
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/hw_ops.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/hw_ops.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/hw_ops.c
+--- a/arch/powerpc/platforms/cell/spufs/hw_ops.c
++++ b/arch/powerpc/platforms/cell/spufs/hw_ops.c
@@ -76,16 +76,18 @@ static unsigned int spu_hw_mbox_stat_pol
if (stat & 0xff0000)
ret |= POLLIN | POLLRDNORM;
.master_start = spu_hw_master_start,
.master_stop = spu_hw_master_stop,
.set_mfc_query = spu_hw_set_mfc_query,
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
+--- a/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
++++ b/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
@@ -28,6 +28,8 @@
#include <asm/spu_csa.h>
#include <asm/mmu.h>
goto fail;
csa->use_big_pages = 1;
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/run.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/run.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/run.c
+--- a/arch/powerpc/platforms/cell/spufs/run.c
++++ b/arch/powerpc/platforms/cell/spufs/run.c
@@ -15,24 +15,55 @@ void spufs_stop_callback(struct spu *spu
{
struct spu_context *ctx = spu->ctx;
mutex_unlock(&ctx->run_mutex);
return ret;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/sched.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/sched.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/sched.c
+--- a/arch/powerpc/platforms/cell/spufs/sched.c
++++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -58,6 +58,7 @@ static unsigned long spu_avenrun[3];
static struct spu_prio_array *spu_prio;
static struct task_struct *spusched_task;
kthread_stop(spusched_task);
for (node = 0; node < MAX_NUMNODES; node++) {
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/spufs.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/spufs.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/spufs.h
+--- a/arch/powerpc/platforms/cell/spufs/spufs.h
++++ b/arch/powerpc/platforms/cell/spufs/spufs.h
@@ -71,6 +71,7 @@ struct spu_context {
wait_queue_head_t wbox_wq;
wait_queue_head_t stop_wq;
+ enum spu_utilization_state new_state);
#endif
-Index: linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/switch.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/cell/spufs/switch.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/cell/spufs/switch.c
+--- a/arch/powerpc/platforms/cell/spufs/switch.c
++++ b/arch/powerpc/platforms/cell/spufs/switch.c
@@ -48,6 +48,8 @@
#include <asm/spu_csa.h>
#include <asm/mmu_context.h>
spu_free_lscsa(csa);
}
-EXPORT_SYMBOL_GPL(spu_fini_csa);
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/Kconfig
+--- a/arch/powerpc/platforms/celleb/Kconfig
++++ b/arch/powerpc/platforms/celleb/Kconfig
@@ -2,6 +2,8 @@ config PPC_CELLEB
bool "Toshiba's Cell Reference Set 'Celleb' Architecture"
depends on PPC_MULTIPLATFORM && PPC64
select PPC_INDIRECT_IO
select PPC_OF_PLATFORM_PCI
select HAS_TXX9_SERIAL
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/io-workarounds.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/io-workarounds.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/io-workarounds.c
+--- a/arch/powerpc/platforms/celleb/io-workarounds.c
++++ b/arch/powerpc/platforms/celleb/io-workarounds.c
@@ -22,6 +22,7 @@
#undef DEBUG
match = of_match_node(celleb_pci_workaround_match, node);
if (match) {
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/iommu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/iommu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/iommu.c
+--- a/arch/powerpc/platforms/celleb/iommu.c
++++ b/arch/powerpc/platforms/celleb/iommu.c
@@ -22,8 +22,9 @@
#include <linux/init.h>
#include <linux/dma-mapping.h>
-arch_initcall(celleb_init_iommu);
+machine_arch_initcall(celleb_beat, celleb_init_iommu);
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/pci.c
+--- a/arch/powerpc/platforms/celleb/pci.c
++++ b/arch/powerpc/platforms/celleb/pci.c
@@ -31,6 +31,7 @@
#include <linux/init.h>
#include <linux/bootmem.h>
const struct of_device_id *match;
int (*setup_func)(struct device_node *, struct pci_controller *);
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/scc_epci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/scc_epci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/scc_epci.c
+--- a/arch/powerpc/platforms/celleb/scc_epci.c
++++ b/arch/powerpc/platforms/celleb/scc_epci.c
@@ -95,7 +95,7 @@ void __init epci_workaround_init(struct
private->dummy_page_da = dma_map_single(hose->parent,
celleb_dummy_page_va, PAGE_SIZE, DMA_FROM_DEVICE);
"Map dummy page failed.\n");
return;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/scc_uhc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/scc_uhc.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/scc_uhc.c
+--- a/arch/powerpc/platforms/celleb/scc_uhc.c
++++ b/arch/powerpc/platforms/celleb/scc_uhc.c
@@ -47,7 +47,8 @@ static void enable_scc_uhc(struct pci_de
u32 val = 0;
int i;
return;
uhc_base = ioremap(pci_resource_start(dev, 0),
-Index: linux-2.6.24.7/arch/powerpc/platforms/celleb/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/celleb/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/celleb/setup.c
+--- a/arch/powerpc/platforms/celleb/setup.c
++++ b/arch/powerpc/platforms/celleb/setup.c
@@ -40,6 +40,7 @@
#include <linux/seq_file.h>
#include <linux/root_dev.h>
+ .machine_crash_shutdown = default_machine_crash_shutdown,
+#endif
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/chrp/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/chrp/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/chrp/pci.c
+--- a/arch/powerpc/platforms/chrp/pci.c
++++ b/arch/powerpc/platforms/chrp/pci.c
@@ -198,7 +198,7 @@ static void __init setup_peg2(struct pci
printk ("RTAS supporting Pegasos OF not found, please upgrade"
" your firmware\n");
/* keep the reference to the root node */
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/chrp/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/chrp/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/chrp/setup.c
+--- a/arch/powerpc/platforms/chrp/setup.c
++++ b/arch/powerpc/platforms/chrp/setup.c
@@ -115,7 +115,7 @@ void chrp_show_cpuinfo(struct seq_file *
seq_printf(m, "machine\t\t: CHRP %s\n", model);
.show_cpuinfo = chrp_show_cpuinfo,
.init_IRQ = chrp_init_IRQ,
.restart = rtas_restart,
-Index: linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/embedded6xx/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/Kconfig
+--- a/arch/powerpc/platforms/embedded6xx/Kconfig
++++ b/arch/powerpc/platforms/embedded6xx/Kconfig
@@ -9,6 +9,8 @@ config LINKSTATION
select FSL_SOC
select PPC_UDBG_16550 if SERIAL_8250
config MPC10X_STORE_GATHERING
bool "Enable MPC10x store gathering"
-Index: linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/embedded6xx/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/Makefile
+--- a/arch/powerpc/platforms/embedded6xx/Makefile
++++ b/arch/powerpc/platforms/embedded6xx/Makefile
@@ -3,5 +3,6 @@
#
obj-$(CONFIG_MPC7448HPC2) += mpc7448_hpc2.o
+obj-$(CONFIG_STORCENTER) += storcenter.o
obj-$(CONFIG_PPC_HOLLY) += holly.o
obj-$(CONFIG_PPC_PRPMC2800) += prpmc2800.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/holly.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/embedded6xx/holly.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/holly.c
+--- a/arch/powerpc/platforms/embedded6xx/holly.c
++++ b/arch/powerpc/platforms/embedded6xx/holly.c
@@ -20,12 +20,12 @@
#include <linux/console.h>
#include <linux/delay.h>
#undef DEBUG
-Index: linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
+--- a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
++++ b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
@@ -53,8 +53,6 @@
#define MPC7448HPC2_PCI_CFG_PHYS 0xfb000000
int mpc7448_hpc2_exclude_device(struct pci_controller *hose,
u_char bus, u_char devfn)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/storcenter.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/platforms/embedded6xx/storcenter.c
++++ b/arch/powerpc/platforms/embedded6xx/storcenter.c
@@ -0,0 +1,192 @@
+/*
+ * Board setup routines for the storcenter
+ .restart = storcenter_restart,
+ .calibrate_decr = generic_calibrate_decr,
+};
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/Makefile
+--- a/arch/powerpc/platforms/iseries/Makefile
++++ b/arch/powerpc/platforms/iseries/Makefile
@@ -5,7 +5,7 @@ extra-y += dt.o
obj-y += exception.o
obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_VIOPATH) += viopath.o vio.o
obj-$(CONFIG_MODULES) += ksyms.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/iommu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/iommu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/iommu.c
+--- a/arch/powerpc/platforms/iseries/iommu.c
++++ b/arch/powerpc/platforms/iseries/iommu.c
@@ -163,8 +163,10 @@ static struct iommu_table *iommu_table_f
(it->it_type == TCE_PCI) &&
(it->it_offset == tbl->it_offset) &&
}
return NULL;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/lpevents.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/lpevents.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/lpevents.c
+--- a/arch/powerpc/platforms/iseries/lpevents.c
++++ b/arch/powerpc/platforms/iseries/lpevents.c
@@ -239,7 +239,7 @@ int HvLpEvent_unregisterHandler(HvLpEven
* other CPUs, and that the deleted handler isn't
* still running on another CPU when we return.
return 0;
}
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/pci.c
+--- a/arch/powerpc/platforms/iseries/pci.c
++++ b/arch/powerpc/platforms/iseries/pci.c
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2001 Allan Trautman, IBM Corporation
}
of_node_put(root);
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/pci.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/pci.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/pci.h
+--- a/arch/powerpc/platforms/iseries/pci.h
++++ b/arch/powerpc/platforms/iseries/pci.h
@@ -30,10 +30,6 @@
* End Change Activity
*/
+#endif
#endif /* _PLATFORMS_ISERIES_PCI_H */
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/setup.c
+--- a/arch/powerpc/platforms/iseries/setup.c
++++ b/arch/powerpc/platforms/iseries/setup.c
@@ -63,6 +63,7 @@
#include "main_store.h"
#include "call_sm.h"
/* XXX Implement enable_pmcs for iSeries */
};
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/setup.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/setup.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/iseries/setup.h
+--- a/arch/powerpc/platforms/iseries/setup.h
++++ b/arch/powerpc/platforms/iseries/setup.h
@@ -17,6 +17,7 @@
#ifndef __ISERIES_SETUP_H__
#define __ISERIES_SETUP_H__
extern unsigned long iSeries_get_boot_time(void);
extern int iSeries_set_rtc_time(struct rtc_time *tm);
extern void iSeries_get_rtc_time(struct rtc_time *tm);
-Index: linux-2.6.24.7/arch/powerpc/platforms/iseries/vpdinfo.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/iseries/vpdinfo.c
+--- a/arch/powerpc/platforms/iseries/vpdinfo.c
+++ /dev/null
@@ -1,275 +0,0 @@
-/*
- card, (int)(PciDev->class >> 8));
- }
-}
-Index: linux-2.6.24.7/arch/powerpc/platforms/maple/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/maple/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/maple/Kconfig
+--- a/arch/powerpc/platforms/maple/Kconfig
++++ b/arch/powerpc/platforms/maple/Kconfig
@@ -1,6 +1,7 @@
config PPC_MAPLE
depends on PPC_MULTIPLATFORM && PPC64
select MPIC
select U3_DART
select MPIC_U3_HT_IRQS
-Index: linux-2.6.24.7/arch/powerpc/platforms/maple/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/maple/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/maple/pci.c
+--- a/arch/powerpc/platforms/maple/pci.c
++++ b/arch/powerpc/platforms/maple/pci.c
@@ -558,7 +558,7 @@ void __init maple_pci_init(void)
* safe assumptions hopefully.
*/
PCI_DN(np)->busno = 0xf0;
for (np = np->child; np; np = np->sibling)
PCI_DN(np)->busno = 0xf0;
-Index: linux-2.6.24.7/arch/powerpc/platforms/maple/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/maple/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/maple/setup.c
+--- a/arch/powerpc/platforms/maple/setup.c
++++ b/arch/powerpc/platforms/maple/setup.c
@@ -42,6 +42,7 @@
#include <linux/serial.h>
#include <linux/smp.h>
#include <asm/lmb.h>
#include <asm/mpic.h>
#include <asm/rtas.h>
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/Kconfig
+--- a/arch/powerpc/platforms/pasemi/Kconfig
++++ b/arch/powerpc/platforms/pasemi/Kconfig
@@ -3,6 +3,7 @@ config PPC_PASEMI
bool "PA Semi SoC-based platforms"
default n
- interface.
-
endmenu
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/Makefile
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/Makefile
+--- a/arch/powerpc/platforms/pasemi/Makefile
++++ b/arch/powerpc/platforms/pasemi/Makefile
@@ -1,4 +1,3 @@
obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o
obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o
-obj-$(CONFIG_ELECTRA_IDE) += electra_ide.o
obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += cpufreq.o
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/cpufreq.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/cpufreq.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/cpufreq.c
+--- a/arch/powerpc/platforms/pasemi/cpufreq.c
++++ b/arch/powerpc/platforms/pasemi/cpufreq.c
@@ -32,6 +32,7 @@
#include <asm/io.h>
#include <asm/prom.h>
return -ENODEV;
return cpufreq_register_driver(&pas_cpufreq_driver);
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/electra_ide.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/electra_ide.c
+--- a/arch/powerpc/platforms/pasemi/electra_ide.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
-MODULE_LICENSE("GPL");
-MODULE_AUTHOR ("Olof Johansson <olof@lixom.net>");
-MODULE_DESCRIPTION("PA Semi Electra IDE driver");
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/gpio_mdio.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/gpio_mdio.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/gpio_mdio.c
+--- a/arch/powerpc/platforms/pasemi/gpio_mdio.c
++++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c
@@ -30,7 +30,7 @@
#include <linux/interrupt.h>
#include <linux/phy.h>
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Olof Johansson <olof@lixom.net>");
+MODULE_DESCRIPTION("Driver for MDIO over GPIO on PA Semi PWRficient-based boards");
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/idle.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/idle.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/idle.c
+--- a/arch/powerpc/platforms/pasemi/idle.c
++++ b/arch/powerpc/platforms/pasemi/idle.c
@@ -74,9 +74,6 @@ static int pasemi_system_reset_exception
static int __init pasemi_idle_init(void)
static int __init idle_param(char *p)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/pasemi.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/pasemi.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/pasemi.h
+--- a/arch/powerpc/platforms/pasemi/pasemi.h
++++ b/arch/powerpc/platforms/pasemi/pasemi.h
@@ -16,8 +16,14 @@ extern void idle_doze(void);
/* Restore astate to last set */
static inline void restore_astate(int cpu)
{
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/powersave.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/powersave.S
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/powersave.S
+--- a/arch/powerpc/platforms/pasemi/powersave.S
++++ b/arch/powerpc/platforms/pasemi/powersave.S
@@ -62,7 +62,16 @@ sleep_common:
mflr r0
std r0, 16(r1)
ld r0,16(r1)
mtlr r0
blr
-Index: linux-2.6.24.7/arch/powerpc/platforms/pasemi/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pasemi/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pasemi/setup.c
+--- a/arch/powerpc/platforms/pasemi/setup.c
++++ b/arch/powerpc/platforms/pasemi/setup.c
@@ -27,6 +27,7 @@
#include <linux/delay.h>
#include <linux/console.h>
.probe = pas_probe,
.setup_arch = pas_setup_arch,
.init_early = pas_init_early,
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/low_i2c.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/low_i2c.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/low_i2c.c
+--- a/arch/powerpc/platforms/powermac/low_i2c.c
++++ b/arch/powerpc/platforms/powermac/low_i2c.c
@@ -585,8 +585,7 @@ static void __init kw_i2c_probe(void)
struct device_node *np, *child, *parent;
}
-subsys_initcall(pmac_i2c_create_platform_devices);
+machine_subsys_initcall(powermac, pmac_i2c_create_platform_devices);
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/pci.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/pci.c
+--- a/arch/powerpc/platforms/powermac/pci.c
++++ b/arch/powerpc/platforms/powermac/pci.c
@@ -40,8 +40,6 @@
static int has_uninorth;
#ifdef CONFIG_PPC64
/*
* Disable second function on K2-SATA, it's broken
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/pfunc_base.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/pfunc_base.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/pfunc_base.c
+--- a/arch/powerpc/platforms/powermac/pfunc_base.c
++++ b/arch/powerpc/platforms/powermac/pfunc_base.c
@@ -363,8 +363,7 @@ int __init pmac_pfunc_base_install(void)
return 0;
#ifdef CONFIG_PM
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/pic.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/pic.c
+--- a/arch/powerpc/platforms/powermac/pic.c
++++ b/arch/powerpc/platforms/powermac/pic.c
@@ -690,6 +690,5 @@ static int __init init_pmacpic_sysfs(voi
sysdev_driver_register(&pmacpic_sysclass, &driver_pmacpic);
return 0;
-subsys_initcall(init_pmacpic_sysfs);
+machine_subsys_initcall(powermac, init_pmacpic_sysfs);
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/pmac.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/pmac.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/pmac.h
+--- a/arch/powerpc/platforms/powermac/pmac.h
++++ b/arch/powerpc/platforms/powermac/pmac.h
@@ -26,7 +26,7 @@ extern void pmac_pci_init(void);
extern void pmac_nvram_update(void);
extern unsigned char pmac_nvram_read_byte(int addr);
extern void pmac_pcibios_after_init(void);
extern int of_show_percpuinfo(struct seq_file *m, int i);
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/setup.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/setup.c
+--- a/arch/powerpc/platforms/powermac/setup.c
++++ b/arch/powerpc/platforms/powermac/setup.c
@@ -51,6 +51,8 @@
#include <linux/root_dev.h>
#include <linux/bitops.h>
return PCI_PROBE_NORMAL;
return PCI_PROBE_DEVTREE;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/powermac/time.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/powermac/time.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/powermac/time.c
+--- a/arch/powerpc/platforms/powermac/time.c
++++ b/arch/powerpc/platforms/powermac/time.c
@@ -84,12 +84,14 @@ long __init pmac_time_init(void)
return delta;
}
static unsigned long from_rtc_time(struct rtc_time *tm)
{
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/Kconfig
+--- a/arch/powerpc/platforms/ps3/Kconfig
++++ b/arch/powerpc/platforms/ps3/Kconfig
@@ -61,17 +61,6 @@ config PS3_DYNAMIC_DMA
This support is mainly for Linux kernel development. If unsure,
say N.
+ oprofile and perfmon2, then say Y or M, otherwise say N.
+
endmenu
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/device-init.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/device-init.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/device-init.c
+--- a/arch/powerpc/platforms/ps3/device-init.c
++++ b/arch/powerpc/platforms/ps3/device-init.c
@@ -23,6 +23,7 @@
#include <linux/kernel.h>
#include <linux/kthread.h>
pr_debug(" <- %s:%d\n", __func__, __LINE__);
return 0;
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/mm.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/mm.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/mm.c
+--- a/arch/powerpc/platforms/ps3/mm.c
++++ b/arch/powerpc/platforms/ps3/mm.c
@@ -36,11 +36,6 @@
#endif
len = r->len;
if (r->offset >= map.rm.size)
virt_addr += r->offset - map.rm.size;
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/platform.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/platform.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/platform.h
+--- a/arch/powerpc/platforms/ps3/platform.h
++++ b/arch/powerpc/platforms/ps3/platform.h
@@ -89,13 +89,11 @@ enum ps3_dev_type {
PS3_DEV_TYPE_STOR_ROM = TYPE_ROM, /* 5 */
PS3_DEV_TYPE_SB_GPIO = 6,
/* repository 'Other OS' area */
int ps3_repository_read_boot_dat_addr(u64 *lpar_addr);
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/repository.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/repository.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/repository.c
+--- a/arch/powerpc/platforms/ps3/repository.c
++++ b/arch/powerpc/platforms/ps3/repository.c
@@ -33,7 +33,7 @@ enum ps3_lpar_id {
};
__func__, __LINE__, repo.bus_index, repo.bus_type,
repo.bus_id, num_dev);
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/spu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/spu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/spu.c
+--- a/arch/powerpc/platforms/ps3/spu.c
++++ b/arch/powerpc/platforms/ps3/spu.c
@@ -28,6 +28,7 @@
#include <asm/spu_priv1.h>
#include <asm/lv1call.h>
BUG_ON((sr1 & allowed) != (spu_pdata(spu)->cache.sr1 & allowed));
spu_pdata(spu)->cache.sr1 = sr1;
-Index: linux-2.6.24.7/arch/powerpc/platforms/ps3/system-bus.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/ps3/system-bus.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/ps3/system-bus.c
+--- a/arch/powerpc/platforms/ps3/system-bus.c
++++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -42,8 +42,8 @@ struct {
int gpu;
} static usage_hack;
default:
BUG();
};
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/eeh.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/eeh.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/eeh.c
+--- a/arch/powerpc/platforms/pseries/eeh.c
++++ b/arch/powerpc/platforms/pseries/eeh.c
@@ -29,6 +29,8 @@
#include <linux/rbtree.h>
#include <linux/seq_file.h>
eeh_add_device_tree_early(sib);
eeh_add_device_early(dn);
}
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/eeh_driver.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/eeh_driver.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/eeh_driver.c
+--- a/arch/powerpc/platforms/pseries/eeh_driver.c
++++ b/arch/powerpc/platforms/pseries/eeh_driver.c
@@ -310,8 +310,6 @@ struct pci_dn * handle_eeh_events (struc
const char *location, *pci_str, *drv_str;
/* Since rtas may enable MMIO when posting the error log,
* don't post the error log until after all dev drivers
* have been informed.
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/iommu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/iommu.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/iommu.c
+--- a/arch/powerpc/platforms/pseries/iommu.c
++++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -251,7 +251,7 @@ static void iommu_table_setparms(struct
const unsigned long *basep;
const u32 *sizep;
break;
default:
err = NOTIFY_DONE;
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/pci_dlpar.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/pci_dlpar.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/pci_dlpar.c
+--- a/arch/powerpc/platforms/pseries/pci_dlpar.c
++++ b/arch/powerpc/platforms/pseries/pci_dlpar.c
@@ -83,7 +83,7 @@ EXPORT_SYMBOL_GPL(pcibios_remove_pci_dev
/* Must be called before pci_bus_add_devices */
pci_bus_add_devices(phb->bus);
eeh_add_device_tree_late(phb->bus);
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/plpar_wrappers.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/plpar_wrappers.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/plpar_wrappers.h
+--- a/arch/powerpc/platforms/pseries/plpar_wrappers.h
++++ b/arch/powerpc/platforms/pseries/plpar_wrappers.h
@@ -8,11 +8,6 @@ static inline long poll_pending(void)
return plpar_hcall_norets(H_POLL_PENDING);
}
static inline long cede_processor(void)
{
return plpar_hcall_norets(H_CEDE);
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/smp.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/smp.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/smp.c
+--- a/arch/powerpc/platforms/pseries/smp.c
++++ b/arch/powerpc/platforms/pseries/smp.c
@@ -46,6 +46,7 @@
#include <asm/pSeries_reconfig.h>
#include <asm/mpic.h>
return 0;
return 1;
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/xics.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/xics.c
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/xics.c
+--- a/arch/powerpc/platforms/pseries/xics.c
++++ b/arch/powerpc/platforms/pseries/xics.c
@@ -87,19 +87,25 @@ static int ibm_int_off;
/* Direct HW low level accessors */
goto unlock;
printk(KERN_WARNING "IRQ %u affinity broken off cpu %u\n",
-Index: linux-2.6.24.7/arch/powerpc/platforms/pseries/xics.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/platforms/pseries/xics.h
-+++ linux-2.6.24.7/arch/powerpc/platforms/pseries/xics.h
+--- a/arch/powerpc/platforms/pseries/xics.h
++++ b/arch/powerpc/platforms/pseries/xics.h
@@ -21,9 +21,6 @@ extern void xics_cause_IPI(int cpu);
extern void xics_request_IPIs(void);
extern void xics_migrate_irqs_away(void);
struct xics_ipi_struct {
volatile unsigned long value;
} ____cacheline_aligned;
-Index: linux-2.6.24.7/arch/powerpc/sysdev/Kconfig
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/Kconfig
++++ b/arch/powerpc/sysdev/Kconfig
@@ -0,0 +1,8 @@
+# For a description of the syntax of this configuration file,
+# see Documentation/kbuild/kconfig-language.txt.
+ bool
+ depends on PCI && 4xx
+ default n
-Index: linux-2.6.24.7/arch/powerpc/sysdev/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/Makefile
-+++ linux-2.6.24.7/arch/powerpc/sysdev/Makefile
+--- a/arch/powerpc/sysdev/Makefile
++++ b/arch/powerpc/sysdev/Makefile
@@ -2,7 +2,7 @@ ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS += -mno-minimal-toc
endif
endif
# Temporary hack until we have migrated to asm-powerpc
-Index: linux-2.6.24.7/arch/powerpc/sysdev/axonram.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/axonram.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/axonram.c
+--- a/arch/powerpc/sysdev/axonram.c
++++ b/arch/powerpc/sysdev/axonram.c
@@ -42,8 +42,9 @@
#include <linux/slab.h>
#include <linux/string.h>
#include <asm/page.h>
#include <asm/prom.h>
-Index: linux-2.6.24.7/arch/powerpc/sysdev/bestcomm/bestcomm.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/bestcomm/bestcomm.h
-+++ linux-2.6.24.7/arch/powerpc/sysdev/bestcomm/bestcomm.h
+--- a/arch/powerpc/sysdev/bestcomm/bestcomm.h
++++ b/arch/powerpc/sysdev/bestcomm/bestcomm.h
@@ -20,7 +20,7 @@ struct bcom_bd; /* defined later on ...
/* ======================================================================== */
/**
-Index: linux-2.6.24.7/arch/powerpc/sysdev/commproc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/commproc.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/commproc.c
+--- a/arch/powerpc/sysdev/commproc.c
++++ b/arch/powerpc/sysdev/commproc.c
@@ -240,6 +240,34 @@ void __init cpm_reset(void)
#endif
}
}
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/cpm2_common.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/cpm2_common.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/cpm2_common.c
+--- a/arch/powerpc/sysdev/cpm2_common.c
++++ b/arch/powerpc/sysdev/cpm2_common.c
@@ -82,6 +82,31 @@ void __init cpm2_reset(void)
cpmp = &cpm2_immr->im_cpm;
}
/* Set a baud rate generator. This needs lots of work. There are
* eight BRGs, which can be connected to the CPM channels or output
* as clocks. The BRGs are in two different block of internal
-Index: linux-2.6.24.7/arch/powerpc/sysdev/fsl_pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/fsl_pci.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/fsl_pci.c
+--- a/arch/powerpc/sysdev/fsl_pci.c
++++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -33,8 +33,8 @@ void __init setup_pci_atmu(struct pci_co
struct ccsr_pci __iomem *pci;
int i;
+DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8641, quirk_fsl_pcie_header);
+DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8641D, quirk_fsl_pcie_header);
+DECLARE_PCI_FIXUP_HEADER(0x1957, PCI_DEVICE_ID_MPC8610, quirk_fsl_pcie_header);
-Index: linux-2.6.24.7/arch/powerpc/sysdev/fsl_rio.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/fsl_rio.c
++++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -0,0 +1,932 @@
+/*
+ * MPC85xx RapidIO support
+ out_be32((void *)&dbell_atmu_regs->rowar, 0x8004200b);
+ mpc85xx_rio_doorbell_init(port);
+}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/fsl_rio.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/fsl_rio.h
++++ b/arch/powerpc/sysdev/fsl_rio.h
@@ -0,0 +1,20 @@
+/*
+ * MPC85xx RapidIO definitions
+extern void mpc85xx_rio_setup(int law_start, int law_size);
+
+#endif /* __PPC_SYSLIB_PPC85XX_RIO_H */
-Index: linux-2.6.24.7/arch/powerpc/sysdev/fsl_soc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/fsl_soc.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/fsl_soc.c
+--- a/arch/powerpc/sysdev/fsl_soc.c
++++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -24,6 +24,7 @@
#include <linux/platform_device.h>
#include <linux/of_platform.h>
return 0;
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/grackle.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/grackle.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/grackle.c
+--- a/arch/powerpc/sysdev/grackle.c
++++ b/arch/powerpc/sysdev/grackle.c
@@ -57,7 +57,7 @@ void __init setup_grackle(struct pci_con
{
setup_indirect_pci(hose, 0xfec00000, 0xfee00000, 0);
if (machine_is_compatible("AAPL,PowerBook1998"))
grackle_set_loop_snoop(hose, 1);
#if 0 /* Disabled for now, HW problems ??? */
-Index: linux-2.6.24.7/arch/powerpc/sysdev/ipic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/ipic.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/ipic.c
+--- a/arch/powerpc/sysdev/ipic.c
++++ b/arch/powerpc/sysdev/ipic.c
@@ -30,11 +30,67 @@
#include "ipic.h"
}
void ipic_enable_mcp(enum ipic_mcp_irq mcp_irq)
-Index: linux-2.6.24.7/arch/powerpc/sysdev/ipic.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/ipic.h
-+++ linux-2.6.24.7/arch/powerpc/sysdev/ipic.h
+--- a/arch/powerpc/sysdev/ipic.h
++++ b/arch/powerpc/sysdev/ipic.h
@@ -23,13 +23,12 @@
#define IPIC_IRQ_EXT7 23
u8 mask; /* mask register offset from base */
u8 prio; /* priority register offset from base */
u8 force; /* force register offset from base */
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mmio_nvram.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mmio_nvram.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mmio_nvram.c
+--- a/arch/powerpc/sysdev/mmio_nvram.c
++++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -99,7 +99,7 @@ int __init mmio_nvram_init(void)
nvram_addr = r.start;
mmio_nvram_len = r.end - r.start + 1;
ret = -EIO;
goto out;
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mpic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mpic.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mpic.c
+--- a/arch/powerpc/sysdev/mpic.c
++++ b/arch/powerpc/sysdev/mpic.c
@@ -83,6 +83,7 @@ static u32 mpic_infos[][MPIC_IDX_END] =
MPIC_CPU_WHOAMI,
MPIC_CPU_INTACK,
vipi, i);
break;
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mpic.h
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mpic.h
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mpic.h
+--- a/arch/powerpc/sysdev/mpic.h
++++ b/arch/powerpc/sysdev/mpic.h
@@ -17,6 +17,7 @@ extern int mpic_msi_init_allocator(struc
extern irq_hw_number_t mpic_msi_alloc_hwirqs(struct mpic *mpic, int num);
extern void mpic_msi_free_hwirqs(struct mpic *mpic, int offset, int num);
extern void mpic_set_affinity(unsigned int irq, cpumask_t cpumask);
#endif /* _POWERPC_SYSDEV_MPIC_H */
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mpic_pasemi_msi.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mpic_pasemi_msi.c
++++ b/arch/powerpc/sysdev/mpic_pasemi_msi.c
@@ -0,0 +1,172 @@
+/*
+ * Copyright 2007, Olof Johansson, PA Semi
+
+ return 0;
+}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_dev.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mv64x60_dev.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_dev.c
+--- a/arch/powerpc/sysdev/mv64x60_dev.c
++++ b/arch/powerpc/sysdev/mv64x60_dev.c
@@ -241,7 +241,7 @@ static int __init mv64x60_eth_device_set
/* only register the shared platform device the first time through */
return 0;
error:
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mv64x60_pci.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_pci.c
+--- a/arch/powerpc/sysdev/mv64x60_pci.c
++++ b/arch/powerpc/sysdev/mv64x60_pci.c
@@ -164,8 +164,8 @@ static int __init mv64x60_add_bridge(str
void __init mv64x60_pci_init(void)
+ for_each_compatible_node(np, "pci", "marvell,mv64x60-pci")
mv64x60_add_bridge(np);
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_udbg.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/mv64x60_udbg.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/mv64x60_udbg.c
+--- a/arch/powerpc/sysdev/mv64x60_udbg.c
++++ b/arch/powerpc/sysdev/mv64x60_udbg.c
@@ -85,10 +85,10 @@ static void mv64x60_udbg_init(void)
if (!stdout)
return;
of_node_put(stdout);
if (!np)
-Index: linux-2.6.24.7/arch/powerpc/sysdev/of_rtc.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/of_rtc.c
++++ b/arch/powerpc/sysdev/of_rtc.c
@@ -0,0 +1,59 @@
+/*
+ * Instantiate mmio-mapped RTC chips based on device tree information
+ }
+ }
+}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/pmi.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/pmi.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/pmi.c
+--- a/arch/powerpc/sysdev/pmi.c
++++ b/arch/powerpc/sysdev/pmi.c
@@ -28,9 +28,9 @@
#include <linux/completion.h>
#include <linux/spinlock.h>
#include <asm/io.h>
#include <asm/pmi.h>
#include <asm/prom.h>
-Index: linux-2.6.24.7/arch/powerpc/sysdev/ppc4xx_pci.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/ppc4xx_pci.c
++++ b/arch/powerpc/sysdev/ppc4xx_pci.c
@@ -0,0 +1,1528 @@
+/*
+ * PCI / PCI-X / PCI-Express support for 4xx parts
+}
+arch_initcall(ppc4xx_pci_find_bridges);
+
-Index: linux-2.6.24.7/arch/powerpc/sysdev/ppc4xx_pci.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/arch/powerpc/sysdev/ppc4xx_pci.h
++++ b/arch/powerpc/sysdev/ppc4xx_pci.h
@@ -0,0 +1,369 @@
+/*
+ * PCI / PCI-X / PCI-Express support for 4xx parts
+
+
+#endif /* __PPC4XX_PCI_H__ */
-Index: linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/qe_lib/Kconfig
-+++ linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/Kconfig
+--- a/arch/powerpc/sysdev/qe_lib/Kconfig
++++ b/arch/powerpc/sysdev/qe_lib/Kconfig
@@ -4,7 +4,7 @@
config UCC_SLOW
help
This option provides qe_lib support to UCC slow
protocols: UART, BISYNC, QMC
-Index: linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/qe.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/qe_lib/qe.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/qe.c
+--- a/arch/powerpc/sysdev/qe_lib/qe.c
++++ b/arch/powerpc/sysdev/qe_lib/qe.c
@@ -25,6 +25,7 @@
#include <linux/module.h>
#include <linux/delay.h>
+}
+EXPORT_SYMBOL(qe_get_firmware_info);
+
-Index: linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/ucc_slow.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/qe_lib/ucc_slow.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/qe_lib/ucc_slow.c
+--- a/arch/powerpc/sysdev/qe_lib/ucc_slow.c
++++ b/arch/powerpc/sysdev/qe_lib/ucc_slow.c
@@ -19,6 +19,7 @@
#include <linux/stddef.h>
#include <linux/interrupt.h>
-
+EXPORT_SYMBOL(ucc_slow_free);
-Index: linux-2.6.24.7/arch/powerpc/sysdev/tsi108_dev.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/tsi108_dev.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/tsi108_dev.c
+--- a/arch/powerpc/sysdev/tsi108_dev.c
++++ b/arch/powerpc/sysdev/tsi108_dev.c
@@ -66,14 +66,12 @@ EXPORT_SYMBOL(get_vir_csrbase);
static int __init tsi108_eth_of_init(void)
{
return ret;
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/uic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/uic.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/uic.c
+--- a/arch/powerpc/sysdev/uic.c
++++ b/arch/powerpc/sysdev/uic.c
@@ -53,21 +53,23 @@ struct uic {
/* The remapper for this UIC */
}
}
-Index: linux-2.6.24.7/arch/powerpc/sysdev/xilinx_intc.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/sysdev/xilinx_intc.c
-+++ linux-2.6.24.7/arch/powerpc/sysdev/xilinx_intc.c
+--- a/arch/powerpc/sysdev/xilinx_intc.c
++++ b/arch/powerpc/sysdev/xilinx_intc.c
@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void)
struct device_node *np;
/* xilinx interrupt controller needs to be top level */
BUG_ON(!np);
-Index: linux-2.6.24.7/arch/powerpc/xmon/setjmp.S
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/xmon/setjmp.S
-+++ linux-2.6.24.7/arch/powerpc/xmon/setjmp.S
+--- a/arch/powerpc/xmon/setjmp.S
++++ b/arch/powerpc/xmon/setjmp.S
@@ -12,67 +12,6 @@
#include <asm/ppc_asm.h>
#include <asm/asm-offsets.h>
/*
* Grab the register values as they are now.
* This won't do a particularily good job because we really
-Index: linux-2.6.24.7/arch/powerpc/xmon/xmon.c
-===================================================================
---- linux-2.6.24.7.orig/arch/powerpc/xmon/xmon.c
-+++ linux-2.6.24.7/arch/powerpc/xmon/xmon.c
+--- a/arch/powerpc/xmon/xmon.c
++++ b/arch/powerpc/xmon/xmon.c
@@ -40,6 +40,7 @@
#include <asm/spu.h>
#include <asm/spu_priv1.h>
void xmon_init(int enable)
{
#ifdef CONFIG_PPC_ISERIES
-Index: linux-2.6.24.7/arch/ppc/kernel/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/kernel/Makefile
-+++ linux-2.6.24.7/arch/ppc/kernel/Makefile
+--- a/arch/ppc/kernel/Makefile
++++ b/arch/ppc/kernel/Makefile
@@ -13,7 +13,6 @@ obj-y := entry.o traps.o time.o misc.
ppc_htab.o
obj-$(CONFIG_MODULES) += ppc_ksyms.o
obj-$(CONFIG_KGDB) += ppc-stub.o
obj-$(CONFIG_SMP) += smp.o smp-tbsync.o
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
-Index: linux-2.6.24.7/arch/ppc/kernel/head_44x.S
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/kernel/head_44x.S
-+++ linux-2.6.24.7/arch/ppc/kernel/head_44x.S
+--- a/arch/ppc/kernel/head_44x.S
++++ b/arch/ppc/kernel/head_44x.S
@@ -195,7 +195,7 @@ skpinv: addi r4,r4,1 /* Increment */
li r5,0
ori r5,r5,(PPC44x_TLB_SW | PPC44x_TLB_SR | PPC44x_TLB_I | PPC44x_TLB_G)
tlbwe r3,r0,PPC44x_TLB_PAGEID /* Load the pageid fields */
tlbwe r4,r0,PPC44x_TLB_XLAT /* Load the translation fields */
-Index: linux-2.6.24.7/arch/ppc/kernel/rio.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/kernel/rio.c
+--- a/arch/ppc/kernel/rio.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-}
-
-subsys_initcall(ppc_rio_init);
-Index: linux-2.6.24.7/arch/ppc/kernel/setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/kernel/setup.c
-+++ linux-2.6.24.7/arch/ppc/kernel/setup.c
+--- a/arch/ppc/kernel/setup.c
++++ b/arch/ppc/kernel/setup.c
@@ -37,7 +37,6 @@
#include <asm/nvram.h>
#include <asm/xmon.h>
#define USES_PPC_SYS (defined(CONFIG_85xx) || defined(CONFIG_83xx) || \
defined(CONFIG_MPC10X_BRIDGE) || defined(CONFIG_8260) || \
-Index: linux-2.6.24.7/arch/ppc/kernel/traps.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/kernel/traps.c
-+++ linux-2.6.24.7/arch/ppc/kernel/traps.c
+--- a/arch/ppc/kernel/traps.c
++++ b/arch/ppc/kernel/traps.c
@@ -231,39 +231,25 @@ platform_machine_check(struct pt_regs *r
{
}
/*
* Optional platform-provided routine to print out
-Index: linux-2.6.24.7/arch/ppc/mm/44x_mmu.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/mm/44x_mmu.c
-+++ linux-2.6.24.7/arch/ppc/mm/44x_mmu.c
+--- a/arch/ppc/mm/44x_mmu.c
++++ b/arch/ppc/mm/44x_mmu.c
@@ -60,38 +60,28 @@ extern char etext[], _stext[];
* Just needed it declared someplace.
*/
return total_lowmem;
}
-Index: linux-2.6.24.7/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
-+++ linux-2.6.24.7/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
+--- a/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
++++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
@@ -42,8 +42,6 @@
#include <mm/mmu_decl.h>
void platform_rio_init(void)
{
/* 512MB RIO LAW at 0xc0000000 */
-Index: linux-2.6.24.7/arch/ppc/platforms/85xx/stx_gp3.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/platforms/85xx/stx_gp3.c
-+++ linux-2.6.24.7/arch/ppc/platforms/85xx/stx_gp3.c
+--- a/arch/ppc/platforms/85xx/stx_gp3.c
++++ b/arch/ppc/platforms/85xx/stx_gp3.c
@@ -50,12 +50,10 @@
#include <asm/irq.h>
#include <asm/immap_85xx.h>
void
platform_rio_init(void)
{
-Index: linux-2.6.24.7/arch/ppc/platforms/85xx/tqm85xx.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/platforms/85xx/tqm85xx.c
-+++ linux-2.6.24.7/arch/ppc/platforms/85xx/tqm85xx.c
+--- a/arch/ppc/platforms/85xx/tqm85xx.c
++++ b/arch/ppc/platforms/85xx/tqm85xx.c
@@ -54,7 +54,6 @@
#include <syslib/ppc85xx_setup.h>
#include <syslib/cpm2_pic.h>
void platform_rio_init(void)
{
/* 512MB RIO LAW at 0xc0000000 */
-Index: linux-2.6.24.7/arch/ppc/platforms/ev64260.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/platforms/ev64260.c
-+++ linux-2.6.24.7/arch/ppc/platforms/ev64260.c
+--- a/arch/ppc/platforms/ev64260.c
++++ b/arch/ppc/platforms/ev64260.c
@@ -336,7 +336,7 @@ ev64260_early_serial_map(void)
#endif
"(source@mvista.com)\n", BOARD_VENDOR, BOARD_MACHINE);
if (ppc_md.progress)
-Index: linux-2.6.24.7/arch/ppc/platforms/prep_pci.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/platforms/prep_pci.c
-+++ linux-2.6.24.7/arch/ppc/platforms/prep_pci.c
+--- a/arch/ppc/platforms/prep_pci.c
++++ b/arch/ppc/platforms/prep_pci.c
@@ -1099,7 +1099,6 @@ prep_pib_init(void)
pci_write_config_byte(dev, 0x43, reg);
}
}
if ((dev = pci_get_device(PCI_VENDOR_ID_WINBOND,
-Index: linux-2.6.24.7/arch/ppc/syslib/Makefile
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/Makefile
-+++ linux-2.6.24.7/arch/ppc/syslib/Makefile
+--- a/arch/ppc/syslib/Makefile
++++ b/arch/ppc/syslib/Makefile
@@ -93,7 +93,6 @@ obj-$(CONFIG_85xx) += open_pic.o ppc85x
ifeq ($(CONFIG_85xx),y)
obj-$(CONFIG_PCI) += pci_auto.o
obj-$(CONFIG_83xx) += ppc83xx_setup.o ppc_sys.o \
mpc83xx_sys.o mpc83xx_devices.o ipic.o
ifeq ($(CONFIG_83xx),y)
-Index: linux-2.6.24.7/arch/ppc/syslib/gt64260_pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/gt64260_pic.c
-+++ linux-2.6.24.7/arch/ppc/syslib/gt64260_pic.c
+--- a/arch/ppc/syslib/gt64260_pic.c
++++ b/arch/ppc/syslib/gt64260_pic.c
@@ -35,7 +35,6 @@
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/irq.h>
-Index: linux-2.6.24.7/arch/ppc/syslib/mpc52xx_pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/mpc52xx_pic.c
-+++ linux-2.6.24.7/arch/ppc/syslib/mpc52xx_pic.c
+--- a/arch/ppc/syslib/mpc52xx_pic.c
++++ b/arch/ppc/syslib/mpc52xx_pic.c
@@ -20,7 +20,6 @@
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/irq.h>
-Index: linux-2.6.24.7/arch/ppc/syslib/mv64360_pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/mv64360_pic.c
-+++ linux-2.6.24.7/arch/ppc/syslib/mv64360_pic.c
+--- a/arch/ppc/syslib/mv64360_pic.c
++++ b/arch/ppc/syslib/mv64360_pic.c
@@ -36,7 +36,6 @@
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
-Index: linux-2.6.24.7/arch/ppc/syslib/ocp.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ocp.c
-+++ linux-2.6.24.7/arch/ppc/syslib/ocp.c
+--- a/arch/ppc/syslib/ocp.c
++++ b/arch/ppc/syslib/ocp.c
@@ -376,7 +376,7 @@ ocp_remove_one_device(unsigned int vendo
down_write(&ocp_devices_sem);
up_write(&ocp_devices_sem);
DBG(("ocp: ocp_remove_one_device(vendor: %x, function: %x, index: %d)... done.\n", vendor, function, index));
-Index: linux-2.6.24.7/arch/ppc/syslib/ppc83xx_setup.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ppc83xx_setup.c
-+++ linux-2.6.24.7/arch/ppc/syslib/ppc83xx_setup.c
+--- a/arch/ppc/syslib/ppc83xx_setup.c
++++ b/arch/ppc/syslib/ppc83xx_setup.c
@@ -41,7 +41,6 @@
#include <syslib/ppc83xx_setup.h>
#include <syslib/ppc83xx_pci.h>
#endif
-Index: linux-2.6.24.7/arch/ppc/syslib/ppc85xx_rio.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ppc85xx_rio.c
+--- a/arch/ppc/syslib/ppc85xx_rio.c
+++ /dev/null
@@ -1,932 +0,0 @@
-/*
- out_be32((void *)&dbell_atmu_regs->rowar, 0x8004200b);
- mpc85xx_rio_doorbell_init(port);
-}
-Index: linux-2.6.24.7/arch/ppc/syslib/ppc85xx_rio.h
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ppc85xx_rio.h
+--- a/arch/ppc/syslib/ppc85xx_rio.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-extern void mpc85xx_rio_setup(int law_start, int law_size);
-
-#endif /* __PPC_SYSLIB_PPC85XX_RIO_H */
-Index: linux-2.6.24.7/arch/ppc/syslib/ppc8xx_pic.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ppc8xx_pic.c
-+++ linux-2.6.24.7/arch/ppc/syslib/ppc8xx_pic.c
+--- a/arch/ppc/syslib/ppc8xx_pic.c
++++ b/arch/ppc/syslib/ppc8xx_pic.c
@@ -16,7 +16,7 @@ extern int cpm_get_irq(void);
* the only interrupt controller. Some boards, like the MBX and
* Sandpoint have the 8259 as a secondary controller. Depending
* "clear_bit()" and "set_bit()" functions like other platforms,
* but they are overkill for us.
*/
-Index: linux-2.6.24.7/arch/ppc/syslib/ppc_sys.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/syslib/ppc_sys.c
-+++ linux-2.6.24.7/arch/ppc/syslib/ppc_sys.c
+--- a/arch/ppc/syslib/ppc_sys.c
++++ b/arch/ppc/syslib/ppc_sys.c
@@ -185,7 +185,7 @@ void platform_notify_map(const struct pl
*/
Hereby, this should be called *before* any func stuff triggeded.
*/
void ppc_sys_device_initfunc(void)
-Index: linux-2.6.24.7/arch/ppc/xmon/start.c
-===================================================================
---- linux-2.6.24.7.orig/arch/ppc/xmon/start.c
-+++ linux-2.6.24.7/arch/ppc/xmon/start.c
+--- a/arch/ppc/xmon/start.c
++++ b/arch/ppc/xmon/start.c
@@ -10,7 +10,6 @@
#include <linux/sysrq.h>
#include <linux/bitops.h>
#include <asm/errno.h>
#include <asm/processor.h>
#include <asm/delay.h>
-Index: linux-2.6.24.7/drivers/ata/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/drivers/ata/Kconfig
-+++ linux-2.6.24.7/drivers/ata/Kconfig
+--- a/drivers/ata/Kconfig
++++ b/drivers/ata/Kconfig
@@ -607,13 +607,23 @@ config PATA_WINBOND_VLB
config PATA_PLATFORM
config PATA_ICSIDE
tristate "Acorn ICS PATA support"
depends on ARM && ARCH_ACORN
-Index: linux-2.6.24.7/drivers/ata/Makefile
-===================================================================
---- linux-2.6.24.7.orig/drivers/ata/Makefile
-+++ linux-2.6.24.7/drivers/ata/Makefile
+--- a/drivers/ata/Makefile
++++ b/drivers/ata/Makefile
@@ -67,6 +67,7 @@ obj-$(CONFIG_PATA_IXP4XX_CF) += pata_ixp
obj-$(CONFIG_PATA_SCC) += pata_scc.o
obj-$(CONFIG_PATA_BF54X) += pata_bf54x.o
obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o
# Should be last but two libata driver
obj-$(CONFIG_PATA_ACPI) += pata_acpi.o
-Index: linux-2.6.24.7/drivers/ata/pata_of_platform.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/drivers/ata/pata_of_platform.c
++++ b/drivers/ata/pata_of_platform.c
@@ -0,0 +1,114 @@
+/*
+ * OF-platform PATA driver
+MODULE_DESCRIPTION("OF-platform PATA driver");
+MODULE_AUTHOR("Anton Vorontsov <avorontsov@ru.mvista.com>");
+MODULE_LICENSE("GPL");
-Index: linux-2.6.24.7/drivers/ata/pata_platform.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/ata/pata_platform.c
-+++ linux-2.6.24.7/drivers/ata/pata_platform.c
+--- a/drivers/ata/pata_platform.c
++++ b/drivers/ata/pata_platform.c
@@ -93,14 +93,9 @@ static struct ata_port_operations pata_p
};
static struct platform_driver pata_platform_driver = {
.probe = pata_platform_probe,
-Index: linux-2.6.24.7/drivers/char/hw_random/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/drivers/char/hw_random/Kconfig
-+++ linux-2.6.24.7/drivers/char/hw_random/Kconfig
+--- a/drivers/char/hw_random/Kconfig
++++ b/drivers/char/hw_random/Kconfig
@@ -98,7 +98,7 @@ config HW_RANDOM_PASEMI
default HW_RANDOM
---help---
To compile this driver as a module, choose M here: the
module will be called pasemi-rng.
-Index: linux-2.6.24.7/drivers/char/hw_random/pasemi-rng.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/char/hw_random/pasemi-rng.c
-+++ linux-2.6.24.7/drivers/char/hw_random/pasemi-rng.c
+--- a/drivers/char/hw_random/pasemi-rng.c
++++ b/drivers/char/hw_random/pasemi-rng.c
@@ -126,10 +126,9 @@ static int __devexit rng_remove(struct o
}
};
static struct of_platform_driver rng_driver = {
-Index: linux-2.6.24.7/drivers/edac/pasemi_edac.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/edac/pasemi_edac.c
-+++ linux-2.6.24.7/drivers/edac/pasemi_edac.c
+--- a/drivers/edac/pasemi_edac.c
++++ b/drivers/edac/pasemi_edac.c
@@ -225,7 +225,7 @@ static int __devinit pasemi_edac_probe(s
EDAC_FLAG_NONE;
mci->mod_name = MODULE_NAME;
MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>");
-MODULE_DESCRIPTION("MC support for PA Semi PA6T-1682M memory controller");
+MODULE_DESCRIPTION("MC support for PA Semi PWRficient memory controller");
-Index: linux-2.6.24.7/drivers/macintosh/adb.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/adb.c
-+++ linux-2.6.24.7/drivers/macintosh/adb.c
+--- a/drivers/macintosh/adb.c
++++ b/drivers/macintosh/adb.c
@@ -35,6 +35,7 @@
#include <linux/spinlock.h>
#include <linux/completion.h>
+ platform_device_register(&adb_pfdev);
+ platform_driver_probe(&adb_pfdrv, adb_dummy_probe);
}
-Index: linux-2.6.24.7/drivers/macintosh/mediabay.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/mediabay.c
-+++ linux-2.6.24.7/drivers/macintosh/mediabay.c
+--- a/drivers/macintosh/mediabay.c
++++ b/drivers/macintosh/mediabay.c
@@ -20,6 +20,7 @@
#include <linux/stddef.h>
#include <linux/init.h>
return 0;
-Index: linux-2.6.24.7/drivers/macintosh/therm_adt746x.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/therm_adt746x.c
-+++ linux-2.6.24.7/drivers/macintosh/therm_adt746x.c
+--- a/drivers/macintosh/therm_adt746x.c
++++ b/drivers/macintosh/therm_adt746x.c
@@ -553,6 +553,7 @@ thermostat_init(void)
struct device_node* np;
const u32 *prop;
#ifndef CONFIG_I2C_POWERMAC
request_module("i2c-powermac");
-Index: linux-2.6.24.7/drivers/macintosh/therm_pm72.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/therm_pm72.c
-+++ linux-2.6.24.7/drivers/macintosh/therm_pm72.c
+--- a/drivers/macintosh/therm_pm72.c
++++ b/drivers/macintosh/therm_pm72.c
@@ -121,6 +121,7 @@
#include <linux/reboot.h>
#include <linux/kmod.h>
wait_for_completion(&ctrl_complete);
}
-Index: linux-2.6.24.7/drivers/macintosh/therm_windtunnel.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/therm_windtunnel.c
-+++ linux-2.6.24.7/drivers/macintosh/therm_windtunnel.c
+--- a/drivers/macintosh/therm_windtunnel.c
++++ b/drivers/macintosh/therm_windtunnel.c
@@ -36,6 +36,7 @@
#include <linux/i2c.h>
#include <linux/slab.h>
}
if( client == x.thermostat )
x.thermostat = NULL;
-Index: linux-2.6.24.7/drivers/macintosh/via-pmu-backlight.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/via-pmu-backlight.c
-+++ linux-2.6.24.7/drivers/macintosh/via-pmu-backlight.c
+--- a/drivers/macintosh/via-pmu-backlight.c
++++ b/drivers/macintosh/via-pmu-backlight.c
@@ -22,7 +22,7 @@ static u8 bl_curve[FB_BACKLIGHT_LEVELS];
static void pmu_backlight_init_curve(u8 off, u8 min, u8 max)
- return;
+ printk(KERN_INFO "PMU Backlight initialized (%s)\n", name);
}
-Index: linux-2.6.24.7/drivers/macintosh/via-pmu.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/macintosh/via-pmu.c
-+++ linux-2.6.24.7/drivers/macintosh/via-pmu.c
+--- a/drivers/macintosh/via-pmu.c
++++ b/drivers/macintosh/via-pmu.c
@@ -10,13 +10,11 @@
*
* Copyright (C) 1998 Paul Mackerras and Fabio Riccardi.
-#endif /* CONFIG_PM_SLEEP && CONFIG_PPC32 */
+#endif /* CONFIG_SUSPEND && CONFIG_PPC32 */
-Index: linux-2.6.24.7/drivers/net/fs_enet/fs_enet-main.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/fs_enet/fs_enet-main.c
-+++ linux-2.6.24.7/drivers/net/fs_enet/fs_enet-main.c
+--- a/drivers/net/fs_enet/fs_enet-main.c
++++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -1178,8 +1178,15 @@ static int __devinit find_phy(struct dev
struct device_node *phynode, *mdionode;
struct resource res;
if (!data || len != 4)
return -EINVAL;
-Index: linux-2.6.24.7/drivers/net/fs_enet/mac-fcc.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/fs_enet/mac-fcc.c
-+++ linux-2.6.24.7/drivers/net/fs_enet/mac-fcc.c
+--- a/drivers/net/fs_enet/mac-fcc.c
++++ b/drivers/net/fs_enet/mac-fcc.c
@@ -81,16 +81,8 @@
static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op)
{
}
static int do_pd_setup(struct fs_enet_private *fep)
-Index: linux-2.6.24.7/drivers/net/fs_enet/mac-scc.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/fs_enet/mac-scc.c
-+++ linux-2.6.24.7/drivers/net/fs_enet/mac-scc.c
+--- a/drivers/net/fs_enet/mac-scc.c
++++ b/drivers/net/fs_enet/mac-scc.c
@@ -89,21 +89,12 @@
* Delay to wait for SCC reset command to complete (in us)
*/
}
static int do_pd_setup(struct fs_enet_private *fep)
-Index: linux-2.6.24.7/drivers/net/ibm_newemac/core.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/ibm_newemac/core.c
-+++ linux-2.6.24.7/drivers/net/ibm_newemac/core.c
+--- a/drivers/net/ibm_newemac/core.c
++++ b/drivers/net/ibm_newemac/core.c
@@ -37,6 +37,7 @@
#include <linux/mii.h>
#include <linux/bitops.h>
#include <asm/processor.h>
#include <asm/io.h>
-Index: linux-2.6.24.7/drivers/net/phy/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/phy/Kconfig
-+++ linux-2.6.24.7/drivers/net/phy/Kconfig
+--- a/drivers/net/phy/Kconfig
++++ b/drivers/net/phy/Kconfig
@@ -61,34 +61,12 @@ config ICPLUS_PHY
Currently supports the IP175C PHY.
config MDIO_BITBANG
tristate "Support for bitbanged MDIO buses"
-Index: linux-2.6.24.7/drivers/net/phy/fixed.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/phy/fixed.c
-+++ linux-2.6.24.7/drivers/net/phy/fixed.c
+--- a/drivers/net/phy/fixed.c
++++ b/drivers/net/phy/fixed.c
@@ -1,362 +1,253 @@
/*
- * drivers/net/phy/fixed.c
+MODULE_DESCRIPTION("Fixed MDIO bus (MDIO bus emulation with fixed PHYs)");
+MODULE_AUTHOR("Vitaly Bordug");
+MODULE_LICENSE("GPL");
-Index: linux-2.6.24.7/drivers/net/ps3_gelic_net.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/ps3_gelic_net.c
-+++ linux-2.6.24.7/drivers/net/ps3_gelic_net.c
+--- a/drivers/net/ps3_gelic_net.c
++++ b/drivers/net/ps3_gelic_net.c
@@ -58,11 +58,11 @@ static inline struct device *ctodev(stru
{
return &card->dev->core;
{
return card->dev->dev_id;
}
-Index: linux-2.6.24.7/drivers/net/ucc_geth.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/net/ucc_geth.c
-+++ linux-2.6.24.7/drivers/net/ucc_geth.c
+--- a/drivers/net/ucc_geth.c
++++ b/drivers/net/ucc_geth.c
@@ -3822,6 +3822,7 @@ static int ucc_geth_probe(struct of_devi
int err, ucc_num, max_speed = 0;
const phandle *ph;
err = of_address_to_resource(np, 0, &res);
if (err)
return -EINVAL;
-Index: linux-2.6.24.7/drivers/of/base.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/of/base.c
-+++ linux-2.6.24.7/drivers/of/base.c
+--- a/drivers/of/base.c
++++ b/drivers/of/base.c
@@ -273,3 +273,61 @@ struct device_node *of_find_compatible_n
return np;
}
+ return np;
+}
+EXPORT_SYMBOL(of_find_matching_node);
-Index: linux-2.6.24.7/drivers/of/device.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/of/device.c
-+++ linux-2.6.24.7/drivers/of/device.c
+--- a/drivers/of/device.c
++++ b/drivers/of/device.c
@@ -10,35 +10,6 @@
#include <asm/errno.h>
* of_match_device - Tell if an of_device structure has a matching
* of_match structure
* @ids: array of of device match structures to search in
-Index: linux-2.6.24.7/drivers/ps3/Makefile
-===================================================================
---- linux-2.6.24.7.orig/drivers/ps3/Makefile
-+++ linux-2.6.24.7/drivers/ps3/Makefile
+--- a/drivers/ps3/Makefile
++++ b/drivers/ps3/Makefile
@@ -4,3 +4,4 @@ ps3av_mod-objs += ps3av.o ps3av_cmd.o
obj-$(CONFIG_PPC_PS3) += sys-manager-core.o
obj-$(CONFIG_PS3_SYS_MANAGER) += ps3-sys-manager.o
obj-$(CONFIG_PS3_STORAGE) += ps3stor_lib.o
+obj-$(CONFIG_PS3_LPM) += ps3-lpm.o
-Index: linux-2.6.24.7/drivers/ps3/ps3-lpm.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/drivers/ps3/ps3-lpm.c
++++ b/drivers/ps3/ps3-lpm.c
@@ -0,0 +1,1248 @@
+/*
+ * PS3 Logical Performance Monitor.
+MODULE_DESCRIPTION("PS3 Logical Performance Monitor Driver");
+MODULE_AUTHOR("Sony Corporation");
+MODULE_ALIAS(PS3_MODULE_ALIAS_LPM);
-Index: linux-2.6.24.7/drivers/ps3/ps3-sys-manager.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/ps3/ps3-sys-manager.c
-+++ linux-2.6.24.7/drivers/ps3/ps3-sys-manager.c
+--- a/drivers/ps3/ps3-sys-manager.c
++++ b/drivers/ps3/ps3-sys-manager.c
@@ -452,7 +452,7 @@ static int ps3_sys_manager_handle_event(
case PS3_SM_EVENT_THERMAL_ALERT:
dev_dbg(&dev->core, "%s:%d: THERMAL_ALERT (zone %u)\n",
ps3_sys_manager_handle_msg(dev);
}
-Index: linux-2.6.24.7/drivers/ps3/ps3-vuart.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/ps3/ps3-vuart.c
-+++ linux-2.6.24.7/drivers/ps3/ps3-vuart.c
+--- a/drivers/ps3/ps3-vuart.c
++++ b/drivers/ps3/ps3-vuart.c
@@ -108,18 +108,18 @@ static struct ps3_vuart_port_priv *to_po
struct ports_bmp {
u64 status;
return 0;
}
-Index: linux-2.6.24.7/drivers/serial/Kconfig
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/Kconfig
-+++ linux-2.6.24.7/drivers/serial/Kconfig
+--- a/drivers/serial/Kconfig
++++ b/drivers/serial/Kconfig
@@ -1284,4 +1284,14 @@ config SERIAL_OF_PLATFORM
Currently, only 8250 compatible ports are supported, but
others can easily be added.
+ PowerPC that contain a QUICC Engine.
+
endmenu
-Index: linux-2.6.24.7/drivers/serial/Makefile
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/Makefile
-+++ linux-2.6.24.7/drivers/serial/Makefile
+--- a/drivers/serial/Makefile
++++ b/drivers/serial/Makefile
@@ -64,3 +64,4 @@ obj-$(CONFIG_SERIAL_UARTLITE) += uartlit
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
+obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
-Index: linux-2.6.24.7/drivers/serial/cpm_uart/cpm_uart_cpm1.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/cpm_uart/cpm_uart_cpm1.c
-+++ linux-2.6.24.7/drivers/serial/cpm_uart/cpm_uart_cpm1.c
+--- a/drivers/serial/cpm_uart/cpm_uart_cpm1.c
++++ b/drivers/serial/cpm_uart/cpm_uart_cpm1.c
@@ -52,11 +52,7 @@
#ifdef CONFIG_PPC_CPM_NEW_BINDING
void cpm_line_cr_cmd(struct uart_cpm_port *port, int cmd)
}
#else
void cpm_line_cr_cmd(struct uart_cpm_port *port, int cmd)
-Index: linux-2.6.24.7/drivers/serial/cpm_uart/cpm_uart_cpm2.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/cpm_uart/cpm_uart_cpm2.c
-+++ linux-2.6.24.7/drivers/serial/cpm_uart/cpm_uart_cpm2.c
+--- a/drivers/serial/cpm_uart/cpm_uart_cpm2.c
++++ b/drivers/serial/cpm_uart/cpm_uart_cpm2.c
@@ -52,13 +52,7 @@
#ifdef CONFIG_PPC_CPM_NEW_BINDING
void cpm_line_cr_cmd(struct uart_cpm_port *port, int cmd)
io->iop_pparb |= 0x008b0000;
io->iop_pdirb |= 0x00880000;
-Index: linux-2.6.24.7/drivers/serial/mpc52xx_uart.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/mpc52xx_uart.c
-+++ linux-2.6.24.7/drivers/serial/mpc52xx_uart.c
+--- a/drivers/serial/mpc52xx_uart.c
++++ b/drivers/serial/mpc52xx_uart.c
@@ -36,7 +36,7 @@
* DCD. However, the pin multiplexing aren't changed and should be set either
* by the bootloader or in the platform init code.
printk(KERN_ERR "%s: uart_register_driver failed (%i)\n",
__FILE__, ret);
return ret;
-Index: linux-2.6.24.7/drivers/serial/uartlite.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/serial/uartlite.c
-+++ linux-2.6.24.7/drivers/serial/uartlite.c
+--- a/drivers/serial/uartlite.c
++++ b/drivers/serial/uartlite.c
@@ -539,7 +539,7 @@ static int __devinit ulite_assign(struct
*
* @dev: pointer to device structure
.driver = {
.owner = THIS_MODULE,
.name = "uartlite",
-Index: linux-2.6.24.7/drivers/serial/ucc_uart.c
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/drivers/serial/ucc_uart.c
++++ b/drivers/serial/ucc_uart.c
@@ -0,0 +1,1514 @@
+/*
+ * Freescale QUICC Engine UART device driver
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS_CHARDEV_MAJOR(SERIAL_QE_MAJOR);
+
-Index: linux-2.6.24.7/drivers/spi/mpc52xx_psc_spi.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/spi/mpc52xx_psc_spi.c
-+++ linux-2.6.24.7/drivers/spi/mpc52xx_psc_spi.c
+--- a/drivers/spi/mpc52xx_psc_spi.c
++++ b/drivers/spi/mpc52xx_psc_spi.c
@@ -330,6 +330,7 @@ static void mpc52xx_psc_spi_cleanup(stru
static int mpc52xx_psc_spi_port_config(int psc_id, struct mpc52xx_psc_spi *mps)
#else
cdm = ioremap(MPC52xx_PA(MPC52xx_CDM_OFFSET), MPC52xx_CDM_SIZE);
gpio = ioremap(MPC52xx_PA(MPC52xx_GPIO_OFFSET), MPC52xx_GPIO_SIZE);
-Index: linux-2.6.24.7/fs/openpromfs/inode.c
-===================================================================
---- linux-2.6.24.7.orig/fs/openpromfs/inode.c
-+++ linux-2.6.24.7/fs/openpromfs/inode.c
+--- a/fs/openpromfs/inode.c
++++ b/fs/openpromfs/inode.c
@@ -131,7 +131,7 @@ static void property_stop(struct seq_fil
/* Nothing to do */
}
.start = property_start,
.next = property_next,
.stop = property_stop,
-Index: linux-2.6.24.7/include/asm-powerpc/8xx_immap.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/8xx_immap.h
-+++ linux-2.6.24.7/include/asm-powerpc/8xx_immap.h
+--- a/include/asm-powerpc/8xx_immap.h
++++ b/include/asm-powerpc/8xx_immap.h
@@ -123,7 +123,7 @@ typedef struct mem_ctlr {
#define OR_G5LA 0x00000400 /* Output #GPL5 on #GPL_A5 */
#define OR_G5LS 0x00000200 /* Drive #GPL high on falling edge of...*/
#define OR_SCY_0_CLK 0x00000000 /* 0 clock cycles wait states */
#define OR_SCY_1_CLK 0x00000010 /* 1 clock cycles wait states */
#define OR_SCY_2_CLK 0x00000020 /* 2 clock cycles wait states */
-Index: linux-2.6.24.7/include/asm-powerpc/commproc.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/commproc.h
-+++ linux-2.6.24.7/include/asm-powerpc/commproc.h
+--- a/include/asm-powerpc/commproc.h
++++ b/include/asm-powerpc/commproc.h
@@ -693,7 +693,7 @@ typedef struct risc_timer_pram {
#define CICR_SCC_SCC3 ((uint)0x00200000) /* SCC3 @ SCCc */
#define CICR_SCB_SCC2 ((uint)0x00040000) /* SCC2 @ SCCb */
#define CICR_HP_MASK ((uint)0x00001f00) /* Hi-pri int. */
#define CICR_IEN ((uint)0x00000080) /* Int. enable */
#define CICR_SPS ((uint)0x00000001) /* SCC Spread */
-Index: linux-2.6.24.7/include/asm-powerpc/cpm.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/cpm.h
-+++ linux-2.6.24.7/include/asm-powerpc/cpm.h
+--- a/include/asm-powerpc/cpm.h
++++ b/include/asm-powerpc/cpm.h
@@ -10,5 +10,6 @@ int cpm_muram_free(unsigned long offset)
unsigned long cpm_muram_alloc_fixed(unsigned long offset, unsigned long size);
void __iomem *cpm_muram_addr(unsigned long offset);
+int cpm_command(u32 command, u8 opcode);
#endif
-Index: linux-2.6.24.7/include/asm-powerpc/cputable.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/cputable.h
-+++ linux-2.6.24.7/include/asm-powerpc/cputable.h
+--- a/include/asm-powerpc/cputable.h
++++ b/include/asm-powerpc/cputable.h
@@ -57,6 +57,14 @@ enum powerpc_pmc_type {
PPC_PMC_PA6T = 2,
};
};
extern struct cpu_spec *cur_cpu_spec;
-Index: linux-2.6.24.7/include/asm-powerpc/cputhreads.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/include/asm-powerpc/cputhreads.h
++++ b/include/asm-powerpc/cputhreads.h
@@ -0,0 +1,71 @@
+#ifndef _ASM_POWERPC_CPUTHREADS_H
+#define _ASM_POWERPC_CPUTHREADS_H
+
+#endif /* _ASM_POWERPC_CPUTHREADS_H */
+
-Index: linux-2.6.24.7/include/asm-powerpc/dcr-native.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/dcr-native.h
-+++ linux-2.6.24.7/include/asm-powerpc/dcr-native.h
+--- a/include/asm-powerpc/dcr-native.h
++++ b/include/asm-powerpc/dcr-native.h
@@ -22,6 +22,8 @@
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#endif /* _ASM_POWERPC_DCR_NATIVE_H */
-
-
-Index: linux-2.6.24.7/include/asm-powerpc/dcr-regs.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/include/asm-powerpc/dcr-regs.h
++++ b/include/asm-powerpc/dcr-regs.h
@@ -0,0 +1,71 @@
+/*
+ * Common DCR / SDR / CPR register definitions used on various IBM/AMCC
+#define SDR0_CUST0 0x4000
+
+#endif /* __DCR_REGS_H__ */
-Index: linux-2.6.24.7/include/asm-powerpc/dma-mapping.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/dma-mapping.h
-+++ linux-2.6.24.7/include/asm-powerpc/dma-mapping.h
+--- a/include/asm-powerpc/dma-mapping.h
++++ b/include/asm-powerpc/dma-mapping.h
@@ -87,6 +87,9 @@ static inline int dma_supported(struct d
return dma_ops->dma_supported(dev, mask);
}
#else /* CONFIG_PPC64 */
#define dma_supported(dev, mask) (1)
-Index: linux-2.6.24.7/include/asm-powerpc/firmware.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/firmware.h
-+++ linux-2.6.24.7/include/asm-powerpc/firmware.h
+--- a/include/asm-powerpc/firmware.h
++++ b/include/asm-powerpc/firmware.h
@@ -64,7 +64,7 @@ enum {
FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
FW_FEATURE_NATIVE_POSSIBLE = 0,
FW_FEATURE_NATIVE_ALWAYS = 0,
FW_FEATURE_POSSIBLE =
-Index: linux-2.6.24.7/include/asm-powerpc/immap_86xx.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/immap_86xx.h
-+++ linux-2.6.24.7/include/asm-powerpc/immap_86xx.h
+--- a/include/asm-powerpc/immap_86xx.h
++++ b/include/asm-powerpc/immap_86xx.h
@@ -89,14 +89,14 @@ struct ccsr_guts {
* them.
*
#define CCSR_GUTS_CLKDVDR_PXCKEN 0x80000000
#define CCSR_GUTS_CLKDVDR_SSICKEN 0x20000000
#define CCSR_GUTS_CLKDVDR_PXCKINV 0x10000000
-Index: linux-2.6.24.7/include/asm-powerpc/immap_qe.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/immap_qe.h
-+++ linux-2.6.24.7/include/asm-powerpc/immap_qe.h
+--- a/include/asm-powerpc/immap_qe.h
++++ b/include/asm-powerpc/immap_qe.h
@@ -393,9 +393,39 @@ struct dbg {
u8 res2[0x48];
} __attribute__ ((packed));
} __attribute__ ((packed));
struct qe_immap {
-Index: linux-2.6.24.7/include/asm-powerpc/io.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/io.h
-+++ linux-2.6.24.7/include/asm-powerpc/io.h
+--- a/include/asm-powerpc/io.h
++++ b/include/asm-powerpc/io.h
@@ -50,15 +50,16 @@ extern int check_legacy_ioport(unsigned
#define PCI_DRAM_OFFSET pci_dram_offset
#else
#if defined(CONFIG_PPC32) && defined(CONFIG_PPC_INDIRECT_IO)
#error CONFIG_PPC_INDIRECT_IO is not yet supported on 32 bits
#endif
-Index: linux-2.6.24.7/include/asm-powerpc/iommu.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/iommu.h
-+++ linux-2.6.24.7/include/asm-powerpc/iommu.h
+--- a/include/asm-powerpc/iommu.h
++++ b/include/asm-powerpc/iommu.h
@@ -69,10 +69,9 @@ struct iommu_table {
};
/* Initializes an iommu_table based in values set in the passed-in
* structure
-Index: linux-2.6.24.7/include/asm-powerpc/ipic.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/ipic.h
-+++ linux-2.6.24.7/include/asm-powerpc/ipic.h
+--- a/include/asm-powerpc/ipic.h
++++ b/include/asm-powerpc/ipic.h
@@ -20,11 +20,13 @@
/* Flags when we init the IPIC */
/* IPIC registers offsets */
#define IPIC_SICFR 0x00 /* System Global Interrupt Configuration Register */
-Index: linux-2.6.24.7/include/asm-powerpc/iseries/hv_lp_event.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/iseries/hv_lp_event.h
-+++ linux-2.6.24.7/include/asm-powerpc/iseries/hv_lp_event.h
+--- a/include/asm-powerpc/iseries/hv_lp_event.h
++++ b/include/asm-powerpc/iseries/hv_lp_event.h
@@ -78,7 +78,7 @@ extern int HvLpEvent_openPath(HvLpEvent_
/*
*/
extern int HvLpEvent_closePath(HvLpEvent_Type eventType, HvLpIndex lpIndex);
-Index: linux-2.6.24.7/include/asm-powerpc/kexec.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/kexec.h
-+++ linux-2.6.24.7/include/asm-powerpc/kexec.h
+--- a/include/asm-powerpc/kexec.h
++++ b/include/asm-powerpc/kexec.h
@@ -123,6 +123,9 @@ struct pt_regs;
extern void default_machine_kexec(struct kimage *image);
extern int default_machine_kexec_prepare(struct kimage *image);
extern void machine_kexec_simple(struct kimage *image);
extern void crash_kexec_secondary(struct pt_regs *regs);
-Index: linux-2.6.24.7/include/asm-powerpc/lmb.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/lmb.h
-+++ linux-2.6.24.7/include/asm-powerpc/lmb.h
+--- a/include/asm-powerpc/lmb.h
++++ b/include/asm-powerpc/lmb.h
@@ -51,6 +51,7 @@ extern unsigned long __init __lmb_alloc_
extern unsigned long __init lmb_phys_mem_size(void);
extern unsigned long __init lmb_end_of_DRAM(void);
extern void lmb_dump_all(void);
-Index: linux-2.6.24.7/include/asm-powerpc/machdep.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/machdep.h
-+++ linux-2.6.24.7/include/asm-powerpc/machdep.h
+--- a/include/asm-powerpc/machdep.h
++++ b/include/asm-powerpc/machdep.h
@@ -204,6 +204,13 @@ struct machdep_calls {
/*
* optional PCI "hooks"
+
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_MACHDEP_H */
-Index: linux-2.6.24.7/include/asm-powerpc/mmu-hash64.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/mmu-hash64.h
-+++ linux-2.6.24.7/include/asm-powerpc/mmu-hash64.h
+--- a/include/asm-powerpc/mmu-hash64.h
++++ b/include/asm-powerpc/mmu-hash64.h
@@ -80,7 +80,7 @@ extern char initial_stab[];
#define HPTE_V_AVPN_SHIFT 7
#define HPTE_V_AVPN ASM_CONST(0x3fffffffffffff80)
extern void htab_initialize(void);
extern void htab_initialize_secondary(void);
-Index: linux-2.6.24.7/include/asm-powerpc/mpc52xx.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/mpc52xx.h
-+++ linux-2.6.24.7/include/asm-powerpc/mpc52xx.h
+--- a/include/asm-powerpc/mpc52xx.h
++++ b/include/asm-powerpc/mpc52xx.h
@@ -248,8 +248,6 @@ struct mpc52xx_cdm {
#ifndef __ASSEMBLY__
extern void __init mpc52xx_map_wdt(void);
extern void mpc52xx_restart(char *cmd);
-Index: linux-2.6.24.7/include/asm-powerpc/mpc52xx_psc.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/mpc52xx_psc.h
-+++ linux-2.6.24.7/include/asm-powerpc/mpc52xx_psc.h
+--- a/include/asm-powerpc/mpc52xx_psc.h
++++ b/include/asm-powerpc/mpc52xx_psc.h
@@ -153,6 +153,9 @@ struct mpc52xx_psc {
u8 reserved16[3];
u8 irfdr; /* PSC + 0x54 */
u16 rfnum; /* PSC + 0x58 */
u16 reserved18;
u16 tfnum; /* PSC + 0x5c */
-Index: linux-2.6.24.7/include/asm-powerpc/mpc8260.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/mpc8260.h
-+++ linux-2.6.24.7/include/asm-powerpc/mpc8260.h
+--- a/include/asm-powerpc/mpc8260.h
++++ b/include/asm-powerpc/mpc8260.h
@@ -8,6 +8,7 @@
#ifndef __ASM_POWERPC_MPC8260_H__
#define __ASM_POWERPC_MPC8260_H__
#ifdef CONFIG_8260
-Index: linux-2.6.24.7/include/asm-powerpc/mpic.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/mpic.h
-+++ linux-2.6.24.7/include/asm-powerpc/mpic.h
+--- a/include/asm-powerpc/mpic.h
++++ b/include/asm-powerpc/mpic.h
@@ -22,7 +22,9 @@
#define MPIC_GREG_GLOBAL_CONF_0 0x00020
#define MPIC_GREG_GCONF_RESET 0x80000000
/* Set the EPIC clock ratio */
void mpic_set_clk_ratio(struct mpic *mpic, u32 clock_ratio);
-Index: linux-2.6.24.7/include/asm-powerpc/nvram.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/nvram.h
-+++ linux-2.6.24.7/include/asm-powerpc/nvram.h
+--- a/include/asm-powerpc/nvram.h
++++ b/include/asm-powerpc/nvram.h
@@ -10,6 +10,8 @@
#ifndef _ASM_POWERPC_NVRAM_H
#define _ASM_POWERPC_NVRAM_H
#endif /* __KERNEL__ */
/* PowerMac specific nvram stuffs */
-Index: linux-2.6.24.7/include/asm-powerpc/of_platform.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/of_platform.h
-+++ linux-2.6.24.7/include/asm-powerpc/of_platform.h
+--- a/include/asm-powerpc/of_platform.h
++++ b/include/asm-powerpc/of_platform.h
@@ -15,8 +15,14 @@
#include <linux/of_platform.h>
+extern void of_instantiate_rtc(void);
+
#endif /* _ASM_POWERPC_OF_PLATFORM_H */
-Index: linux-2.6.24.7/include/asm-powerpc/pci-bridge.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/pci-bridge.h
-+++ linux-2.6.24.7/include/asm-powerpc/pci-bridge.h
+--- a/include/asm-powerpc/pci-bridge.h
++++ b/include/asm-powerpc/pci-bridge.h
@@ -1,15 +1,42 @@
#ifndef _ASM_POWERPC_PCI_BRIDGE_H
#define _ASM_POWERPC_PCI_BRIDGE_H
-#endif
+#endif /* __KERNEL__ */
+#endif /* _ASM_POWERPC_PCI_BRIDGE_H */
-Index: linux-2.6.24.7/include/asm-powerpc/pci.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/pci.h
-+++ linux-2.6.24.7/include/asm-powerpc/pci.h
+--- a/include/asm-powerpc/pci.h
++++ b/include/asm-powerpc/pci.h
@@ -36,11 +36,10 @@ struct pci_dev;
/*
+
#endif /* __KERNEL__ */
#endif /* __ASM_POWERPC_PCI_H */
-Index: linux-2.6.24.7/include/asm-powerpc/ppc-pci.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/ppc-pci.h
-+++ linux-2.6.24.7/include/asm-powerpc/ppc-pci.h
+--- a/include/asm-powerpc/ppc-pci.h
++++ b/include/asm-powerpc/ppc-pci.h
@@ -22,7 +22,6 @@ extern void pci_setup_phb_io_dynamic(str
extern unsigned long pci_probe_only;
/* ---- EEH internal-use-only related routines ---- */
-Index: linux-2.6.24.7/include/asm-powerpc/prom.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/prom.h
-+++ linux-2.6.24.7/include/asm-powerpc/prom.h
+--- a/include/asm-powerpc/prom.h
++++ b/include/asm-powerpc/prom.h
@@ -202,6 +202,10 @@ static inline unsigned long of_read_ulon
*/
extern u64 of_translate_address(struct device_node *np, const u32 *addr);
/* Extract an address from a device, returns the region size and
* the address space flags too. The PCI version uses a BAR number
* instead of an absolute index
-Index: linux-2.6.24.7/include/asm-powerpc/ps3.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/ps3.h
-+++ linux-2.6.24.7/include/asm-powerpc/ps3.h
+--- a/include/asm-powerpc/ps3.h
++++ b/include/asm-powerpc/ps3.h
@@ -24,6 +24,7 @@
#include <linux/init.h>
#include <linux/types.h>
+u64 ps3_get_spe_id(void *arg);
#endif
-Index: linux-2.6.24.7/include/asm-powerpc/ptrace.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/ptrace.h
-+++ linux-2.6.24.7/include/asm-powerpc/ptrace.h
+--- a/include/asm-powerpc/ptrace.h
++++ b/include/asm-powerpc/ptrace.h
@@ -106,7 +106,8 @@ extern int ptrace_put_reg(struct task_st
*/
#define FULL_REGS(regs) (((regs)->trap & 1) == 0)
#endif /* ! __powerpc64__ */
#define TRAP(regs) ((regs)->trap & ~0xF)
#ifdef __powerpc64__
-Index: linux-2.6.24.7/include/asm-powerpc/qe.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/qe.h
-+++ linux-2.6.24.7/include/asm-powerpc/qe.h
+--- a/include/asm-powerpc/qe.h
++++ b/include/asm-powerpc/qe.h
@@ -28,6 +28,52 @@
#define MEM_PART_SECONDARY 1
#define MEM_PART_MURAM 2
/* UPC */
#define UPGCR_PROTOCOL 0x80000000 /* protocol ul2 or pl2 */
#define UPGCR_TMS 0x40000000 /* Transmit master/slave mode */
-Index: linux-2.6.24.7/include/asm-powerpc/reg.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/reg.h
-+++ linux-2.6.24.7/include/asm-powerpc/reg.h
+--- a/include/asm-powerpc/reg.h
++++ b/include/asm-powerpc/reg.h
@@ -553,6 +553,7 @@
#define SPRN_PA6T_BTCR 978 /* Breakpoint and Tagging Control Register */
#define SPRN_PA6T_IMAAT 979 /* Instruction Match Array Action Table */
/* Macros for setting and retrieving special purpose registers */
#ifndef __ASSEMBLY__
#define mfmsr() ({unsigned long rval; \
-Index: linux-2.6.24.7/include/asm-powerpc/reg_booke.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/reg_booke.h
-+++ linux-2.6.24.7/include/asm-powerpc/reg_booke.h
+--- a/include/asm-powerpc/reg_booke.h
++++ b/include/asm-powerpc/reg_booke.h
@@ -123,16 +123,23 @@
#define SPRN_SPEFSCR 0x200 /* SPE & Embedded FP Status & Control */
#define SPRN_BBEAR 0x201 /* Branch Buffer Entry Address Register */
#define ESR_PTR 0x02000000 /* Program Exception - Trap */
#define ESR_FP 0x01000000 /* Floating Point Operation */
#define ESR_DST 0x00800000 /* Storage Exception - Data miss */
-Index: linux-2.6.24.7/include/asm-powerpc/setjmp.h
-===================================================================
--- /dev/null
-+++ linux-2.6.24.7/include/asm-powerpc/setjmp.h
++++ b/include/asm-powerpc/setjmp.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright © 2008 Michael Neuling IBM Corporation
+extern void longjmp(long *, long);
+
+#endif /* _ASM_POWERPC_SETJMP_H */
-Index: linux-2.6.24.7/include/asm-powerpc/smu.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/smu.h
-+++ linux-2.6.24.7/include/asm-powerpc/smu.h
+--- a/include/asm-powerpc/smu.h
++++ b/include/asm-powerpc/smu.h
@@ -22,7 +22,7 @@
* Partition info commands
*
};
#endif /* _SMU_H */
-Index: linux-2.6.24.7/include/asm-powerpc/sparsemem.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/sparsemem.h
-+++ linux-2.6.24.7/include/asm-powerpc/sparsemem.h
+--- a/include/asm-powerpc/sparsemem.h
++++ b/include/asm-powerpc/sparsemem.h
@@ -10,13 +10,8 @@
*/
#define SECTION_SIZE_BITS 24
#ifdef CONFIG_MEMORY_HOTPLUG
extern void create_section_mapping(unsigned long start, unsigned long end);
-Index: linux-2.6.24.7/include/asm-powerpc/spu.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/spu.h
-+++ linux-2.6.24.7/include/asm-powerpc/spu.h
+--- a/include/asm-powerpc/spu.h
++++ b/include/asm-powerpc/spu.h
@@ -104,6 +104,7 @@
struct spu_context;
u8 pad_0x158_0x180[0x28]; /* 0x158 */
u64 int_route_RW; /* 0x180 */
-Index: linux-2.6.24.7/include/asm-powerpc/spu_csa.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/spu_csa.h
-+++ linux-2.6.24.7/include/asm-powerpc/spu_csa.h
+--- a/include/asm-powerpc/spu_csa.h
++++ b/include/asm-powerpc/spu_csa.h
@@ -194,7 +194,7 @@ struct spu_priv1_collapsed {
};
#endif /* !__SPU__ */
#endif /* __KERNEL__ */
#endif /* !__ASSEMBLY__ */
-Index: linux-2.6.24.7/include/asm-powerpc/spu_priv1.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/spu_priv1.h
-+++ linux-2.6.24.7/include/asm-powerpc/spu_priv1.h
+--- a/include/asm-powerpc/spu_priv1.h
++++ b/include/asm-powerpc/spu_priv1.h
@@ -24,6 +24,7 @@
#include <linux/types.h>
/*
* The declarations folowing are put here for convenience
* and only intended to be used by the platform setup code.
-Index: linux-2.6.24.7/include/asm-powerpc/system.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/system.h
-+++ linux-2.6.24.7/include/asm-powerpc/system.h
+--- a/include/asm-powerpc/system.h
++++ b/include/asm-powerpc/system.h
@@ -169,6 +169,8 @@ extern int do_page_fault(struct pt_regs
extern void bad_page_fault(struct pt_regs *, unsigned long, int);
extern int die(const char *, struct pt_regs *, long);
#ifdef CONFIG_BOOKE_WDT
extern u32 booke_wdt_enabled;
extern u32 booke_wdt_period;
-Index: linux-2.6.24.7/include/asm-powerpc/udbg.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-powerpc/udbg.h
-+++ linux-2.6.24.7/include/asm-powerpc/udbg.h
+--- a/include/asm-powerpc/udbg.h
++++ b/include/asm-powerpc/udbg.h
@@ -48,6 +48,7 @@ extern void __init udbg_init_rtas_consol
extern void __init udbg_init_debug_beat(void);
extern void __init udbg_init_btext(void);
extern void __init udbg_init_cpm(void);
#endif /* __KERNEL__ */
-Index: linux-2.6.24.7/include/asm-ppc/8xx_immap.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-ppc/8xx_immap.h
-+++ linux-2.6.24.7/include/asm-ppc/8xx_immap.h
+--- a/include/asm-ppc/8xx_immap.h
++++ b/include/asm-ppc/8xx_immap.h
@@ -123,7 +123,7 @@ typedef struct mem_ctlr {
#define OR_G5LA 0x00000400 /* Output #GPL5 on #GPL_A5 */
#define OR_G5LS 0x00000200 /* Drive #GPL high on falling edge of...*/
#define OR_SCY_0_CLK 0x00000000 /* 0 clock cycles wait states */
#define OR_SCY_1_CLK 0x00000010 /* 1 clock cycles wait states */
#define OR_SCY_2_CLK 0x00000020 /* 2 clock cycles wait states */
-Index: linux-2.6.24.7/include/asm-ppc/commproc.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-ppc/commproc.h
-+++ linux-2.6.24.7/include/asm-ppc/commproc.h
+--- a/include/asm-ppc/commproc.h
++++ b/include/asm-ppc/commproc.h
@@ -681,7 +681,7 @@ typedef struct risc_timer_pram {
#define CICR_SCC_SCC3 ((uint)0x00200000) /* SCC3 @ SCCc */
#define CICR_SCB_SCC2 ((uint)0x00040000) /* SCC2 @ SCCb */
#define CICR_HP_MASK ((uint)0x00001f00) /* Hi-pri int. */
#define CICR_IEN ((uint)0x00000080) /* Int. enable */
#define CICR_SPS ((uint)0x00000001) /* SCC Spread */
-Index: linux-2.6.24.7/include/asm-ppc/mmu.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-ppc/mmu.h
-+++ linux-2.6.24.7/include/asm-ppc/mmu.h
+--- a/include/asm-ppc/mmu.h
++++ b/include/asm-ppc/mmu.h
@@ -383,6 +383,12 @@ typedef struct _P601_BAT {
#define BOOKE_PAGESZ_256GB 14
#define BOOKE_PAGESZ_1TB 15
/*
* Freescale Book-E MMU support
*/
-Index: linux-2.6.24.7/include/asm-ppc/mpc52xx_psc.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-ppc/mpc52xx_psc.h
-+++ linux-2.6.24.7/include/asm-ppc/mpc52xx_psc.h
+--- a/include/asm-ppc/mpc52xx_psc.h
++++ b/include/asm-ppc/mpc52xx_psc.h
@@ -159,6 +159,9 @@ struct mpc52xx_psc {
u8 reserved16[3];
u8 irfdr; /* PSC + 0x54 */
u16 rfnum; /* PSC + 0x58 */
u16 reserved18;
u16 tfnum; /* PSC + 0x5c */
-Index: linux-2.6.24.7/include/asm-ppc/reg_booke.h
-===================================================================
---- linux-2.6.24.7.orig/include/asm-ppc/reg_booke.h
-+++ linux-2.6.24.7/include/asm-ppc/reg_booke.h
+--- a/include/asm-ppc/reg_booke.h
++++ b/include/asm-ppc/reg_booke.h
@@ -207,7 +207,7 @@
#define CCR1_TCS 0x00000080 /* Timer Clock Select */
#define ESR_PTR 0x02000000 /* Program Exception - Trap */
#define ESR_FP 0x01000000 /* Floating Point Operation */
#define ESR_DST 0x00800000 /* Storage Exception - Data miss */
-Index: linux-2.6.24.7/include/linux/of.h
-===================================================================
---- linux-2.6.24.7.orig/include/linux/of.h
-+++ linux-2.6.24.7/include/linux/of.h
+--- a/include/linux/of.h
++++ b/include/linux/of.h
@@ -17,6 +17,7 @@
*/
#include <linux/types.h>
+ const struct of_device_id *matches, const struct device_node *node);
#endif /* _LINUX_OF_H */
-Index: linux-2.6.24.7/include/linux/of_device.h
-===================================================================
---- linux-2.6.24.7.orig/include/linux/of_device.h
-+++ linux-2.6.24.7/include/linux/of_device.h
+--- a/include/linux/of_device.h
++++ b/include/linux/of_device.h
@@ -10,8 +10,6 @@
#define to_of_device(d) container_of(d, struct of_device, dev)
extern const struct of_device_id *of_match_device(
const struct of_device_id *matches, const struct of_device *dev);
-Index: linux-2.6.24.7/include/linux/pata_platform.h
-===================================================================
---- linux-2.6.24.7.orig/include/linux/pata_platform.h
-+++ linux-2.6.24.7/include/linux/pata_platform.h
+--- a/include/linux/pata_platform.h
++++ b/include/linux/pata_platform.h
@@ -15,4 +15,13 @@ struct pata_platform_info {
unsigned int irq_flags;
};
+extern int __devexit __pata_platform_remove(struct device *dev);
+
#endif /* __LINUX_PATA_PLATFORM_H */
-Index: linux-2.6.24.7/include/linux/phy_fixed.h
-===================================================================
---- linux-2.6.24.7.orig/include/linux/phy_fixed.h
-+++ linux-2.6.24.7/include/linux/phy_fixed.h
+--- a/include/linux/phy_fixed.h
++++ b/include/linux/phy_fixed.h
@@ -1,38 +1,31 @@
#ifndef __PHY_FIXED_H
#define __PHY_FIXED_H
+ struct fixed_phy_status *));
#endif /* __PHY_FIXED_H */
-Index: linux-2.6.24.7/include/linux/pmu.h
-===================================================================
---- linux-2.6.24.7.orig/include/linux/pmu.h
-+++ linux-2.6.24.7/include/linux/pmu.h
+--- a/include/linux/pmu.h
++++ b/include/linux/pmu.h
@@ -159,41 +159,7 @@ extern void pmu_unlock(void);
extern int pmu_present(void);
extern int pmu_get_model(void);