[lantiq] adds 3.3 patches and files
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.3 / 0049-MIPS-lantiq-pci-give-xway-pci-support-its-own-kbuild.patch
1 From e5ae2eed68a7ccd406bde12ecfc12c88a52aeb06 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 8 Mar 2012 13:13:31 +0100
4 Subject: [PATCH 49/70] MIPS: lantiq: pci: give xway pci support its own
5 kbuild symbol
6
7 ---
8 arch/mips/lantiq/Kconfig | 5 +++++
9 arch/mips/pci/Makefile | 2 +-
10 2 files changed, 6 insertions(+), 1 deletions(-)
11
12 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig
13 index cb6b39f..dde9fc6 100644
14 --- a/arch/mips/lantiq/Kconfig
15 +++ b/arch/mips/lantiq/Kconfig
16 @@ -19,8 +19,13 @@ config SOC_XWAY
17
18 config SOC_FALCON
19 bool "FALCON"
20 +
21 endchoice
22
23 +config PCI_LANTIQ
24 + bool "PCI Support"
25 + depends on SOC_XWAY && PCI
26 +
27 source "arch/mips/lantiq/xway/Kconfig"
28 source "arch/mips/lantiq/falcon/Kconfig"
29
30 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
31 index c3ac4b0..1f07a58 100644
32 --- a/arch/mips/pci/Makefile
33 +++ b/arch/mips/pci/Makefile
34 @@ -41,7 +41,7 @@ obj-$(CONFIG_SIBYTE_SB1250) += fixup-sb1250.o pci-sb1250.o
35 obj-$(CONFIG_SIBYTE_BCM112X) += fixup-sb1250.o pci-sb1250.o
36 obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o
37 obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o
38 -obj-$(CONFIG_SOC_XWAY) += pci-lantiq.o ops-lantiq.o
39 +obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o
40 obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o
41 obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o
42 obj-$(CONFIG_TANBAC_TB0287) += fixup-tb0287.o
43 --
44 1.7.9.1
45