[ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
[openwrt.git] / target / linux / ifxmips / patches-2.6.33 / 100-board.patch
1 Index: linux-2.6.33.2/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.33.2.orig/arch/mips/Kconfig       2010-04-02 23:31:00.000000000 +0200
4 +++ linux-2.6.33.2/arch/mips/Kconfig    2010-04-02 23:38:38.000000000 +0200
5 @@ -139,6 +139,9 @@
6  
7           otherwise choose R3000.
8  
9 +config IFXMIPS
10 +       bool "Infineon MIPS"
11 +
12  config MACH_JAZZ
13         bool "Jazz family of machines"
14         select ARC
15 @@ -693,6 +696,7 @@
16  source "arch/mips/vr41xx/Kconfig"
17  source "arch/mips/cavium-octeon/Kconfig"
18  source "arch/mips/loongson/Kconfig"
19 +source "arch/mips/ifxmips/Kconfig"
20  
21  endmenu
22  
23 Index: linux-2.6.33.2/arch/mips/Makefile
24 ===================================================================
25 --- linux-2.6.33.2.orig/arch/mips/Makefile      2010-04-02 23:31:01.000000000 +0200
26 +++ linux-2.6.33.2/arch/mips/Makefile   2010-04-02 23:38:38.000000000 +0200
27 @@ -317,6 +317,18 @@
28  load-$(CONFIG_MIPS_COBALT)     += 0xffffffff80080000
29  
30  #
31 +# Infineon IFXMIPS
32 +#
33 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/common/
34 +cflags-$(CONFIG_IFXMIPS)   += -I$(srctree)/arch/mips/include/asm/mach-ifxmips
35 +
36 +core-$(CONFIG_IFXMIPS_DANUBE) += arch/mips/ifxmips/danube/
37 +cflags-$(CONFIG_IFXMIPS_DANUBE)   += -I$(srctree)/arch/mips/include/asm/mach-ifxmips/danube/
38 +load-$(CONFIG_IFXMIPS_DANUBE) += 0xffffffff80002000
39 +
40 +core-$(CONFIG_IFXMIPS_COMPAT) += arch/mips/ifxmips/compat/
41 +
42 +#
43  # DECstation family
44  #
45  core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
46 Index: linux-2.6.33.2/arch/mips/pci/Makefile
47 ===================================================================
48 --- linux-2.6.33.2.orig/arch/mips/pci/Makefile  2010-04-02 01:02:33.000000000 +0200
49 +++ linux-2.6.33.2/arch/mips/pci/Makefile       2010-04-02 23:38:38.000000000 +0200
50 @@ -55,7 +55,7 @@
51  obj-$(CONFIG_WR_PPMC)          += fixup-wrppmc.o
52  obj-$(CONFIG_MIKROTIK_RB532)   += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
53  obj-$(CONFIG_CPU_CAVIUM_OCTEON)        += pci-octeon.o pcie-octeon.o
54 -
55 +obj-$(CONFIG_IFXMIPS)                  += pci-ifxmips.o ops-ifxmips.o
56  ifdef CONFIG_PCI_MSI
57  obj-$(CONFIG_CPU_CAVIUM_OCTEON)        += msi-octeon.o
58  endif