kernel: fix cryptodev with kernel >= 2.6.35
[openwrt.git] / target / linux / ifxmips / patches / 100-board.patch
1 Index: linux-2.6.35.4/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.35.4.orig/arch/mips/Kconfig 2010-09-23 20:41:50.000000000 +0200
4 +++ linux-2.6.35.4/arch/mips/Kconfig 2010-09-23 20:41:52.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 @@ -695,6 +698,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.35.4/arch/mips/Makefile
24 ===================================================================
25 --- linux-2.6.35.4.orig/arch/mips/Makefile 2010-09-23 20:41:50.000000000 +0200
26 +++ linux-2.6.35.4/arch/mips/Makefile 2010-09-23 22:41:58.000000000 +0200
27 @@ -339,6 +339,22 @@
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_AR9) += arch/mips/ifxmips/ar9/
41 +cflags-$(CONFIG_IFXMIPS_AR9) += -I$(srctree)/arch/mips/include/asm/mach-ifxmips/ar9/
42 +load-$(CONFIG_IFXMIPS_AR9) += 0xffffffff80002000
43 +
44 +core-$(CONFIG_IFXMIPS_COMPAT) += arch/mips/ifxmips/compat/
45 +
46 +#
47 # DECstation family
48 #
49 core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
50 Index: linux-2.6.35.4/arch/mips/pci/Makefile
51 ===================================================================
52 --- linux-2.6.35.4.orig/arch/mips/pci/Makefile 2010-08-27 01:47:12.000000000 +0200
53 +++ linux-2.6.35.4/arch/mips/pci/Makefile 2010-09-23 20:41:52.000000000 +0200
54 @@ -55,7 +55,7 @@
55 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
56 obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
57 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += pci-octeon.o pcie-octeon.o
58 -
59 +obj-$(CONFIG_IFXMIPS) += pci-ifxmips.o ops-ifxmips.o
60 ifdef CONFIG_PCI_MSI
61 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += msi-octeon.o
62 endif
This page took 0.041309 seconds and 5 git commands to generate.