]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/nslu2-kernel/2.6.14/50-nslu2-arch.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / nslu2-kernel / 2.6.14 / 50-nslu2-arch.patch
1 --- linux-2.6.11/arch/arm/boot/compressed/head.S        2005-06-17 17:51:27.245788998 -0700
2 +++ linux-2.6.11/arch/arm/boot/compressed/head.S        2005-06-17 17:54:45.041806429 -0700
3 @@ -37,6 +37,7 @@
4      defined(CONFIG_ARCH_INTEGRATOR) || \
5      defined(CONFIG_ARCH_PXA) || \
6      defined(CONFIG_ARCH_IXP4XX) || \
7 +    defined(CONFIG_MACH_NSLU2) || \
8      defined(CONFIG_ARCH_IXP2000) || \
9      defined(CONFIG_ARCH_LH7A40X) || \
10      defined(CONFIG_ARCH_OMAP)
11 --- linux-2.6.11/.pc/2.6.patch/arch/arm/boot/compressed/head-xscale.S   2005-03-01 23:37:52.000000000 -0800
12 +++ linux-2.6.11/arch/arm/boot/compressed/head-xscale.S 2005-06-17 17:51:32.546985425 -0700
13 @@ -47,3 +47,8 @@
14                 orr     r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00)
15  #endif
16  
17 +#ifdef CONFIG_MACH_NSLU2
18 +               mov     r7, #(MACH_TYPE_NSLU2 & 0xff)
19 +               orr     r7, r7, #(MACH_TYPE_NSLU2 & 0xff00)
20 +#endif
21 +
22 --- linux-2.6.11/.pc/2.6.patch/arch/arm/mach-ixp4xx/Kconfig     2005-06-17 17:51:27.365770810 -0700
23 +++ linux-2.6.11/arch/arm/mach-ixp4xx/Kconfig   2005-06-17 17:51:32.560983303 -0700
24 @@ -43,6 +43,12 @@
25           IXDP465 Development Platform (Also known as BMP).
26           For more information on this platform, see <file:Documentation/arm/IXP4xx>.
27  
28 +config MACH_NSLU2
29 +       bool "NSLU2"
30 +       help
31 +         Say 'Y' here if you want your kernel to support Linksys's 
32 +         NSLU2 NAS device. For more information on this platform, 
33 +         see http://www.nslu2-linux.org
34  
35  #
36  # IXCDP1100 is the exact same HW as IXDP425, but with a different machine 
37 --- linux-2.6.11/.pc/2.6.patch/include/asm-arm/arch-ixp4xx/hardware.h   2005-03-01 23:37:51.000000000 -0800
38 +++ linux-2.6.11/include/asm-arm/arch-ixp4xx/hardware.h 2005-06-17 17:51:32.567982242 -0700
39 @@ -44,5 +44,6 @@
40  #include "ixdp425.h"
41  #include "coyote.h"
42  #include "prpmc1100.h"
43 +#include "nslu2.h"
44  
45  #endif  /* _ASM_ARCH_HARDWARE_H */
46 --- linux-2.6.11/.pc/2.6.patch/include/asm-arm/arch-ixp4xx/irqs.h       2005-03-01 23:38:12.000000000 -0800
47 +++ linux-2.6.11/include/asm-arm/arch-ixp4xx/irqs.h     2005-06-17 17:51:32.568982091 -0700
48 @@ -93,4 +93,11 @@
49  #define        IRQ_COYOTE_PCI_SLOT1    IRQ_IXP4XX_GPIO11
50  #define        IRQ_COYOTE_IDE          IRQ_IXP4XX_GPIO5
51  
52 +/*
53 + * NSLU2 board IRQs
54 + */
55 +#define        IRQ_NSLU2_PCI_INTA      IRQ_IXP4XX_GPIO11
56 +#define        IRQ_NSLU2_PCI_INTB      IRQ_IXP4XX_GPIO10
57 +#define        IRQ_NSLU2_PCI_INTC      IRQ_IXP4XX_GPIO9
58 +
59  #endif