aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-05 09:06:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-05 09:06:10 +0000
commitcfe85df818017e199ece25ee1f2badb8ddb5f4dd (patch)
tree3f9c79961df04f1013bb958a16c20223da3cb716 /target/linux/ramips
parentf3529017514b3dc99b8fa6ef571e5ac4948f9ffe (diff)
downloadupstream-cfe85df818017e199ece25ee1f2badb8ddb5f4dd.tar.gz
upstream-cfe85df818017e199ece25ee1f2badb8ddb5f4dd.tar.bz2
upstream-cfe85df818017e199ece25ee1f2badb8ddb5f4dd.zip
ramips: add Kbuild patch for the rt288x pci code, and fix invalid header file paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17860 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/pci/ops-rt288x.c5
-rw-r--r--target/linux/ramips/files/arch/mips/pci/pci-rt288x.c5
-rw-r--r--target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch7
3 files changed, 13 insertions, 4 deletions
diff --git a/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c b/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
index 44dadc9af1..2bbe1f4e7d 100644
--- a/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
+++ b/target/linux/ramips/files/arch/mips/pci/ops-rt288x.c
@@ -7,8 +7,9 @@
#include <asm/io.h>
#include <linux/init.h>
#include <linux/mod_devicetable.h>
-#include <asm/mach-rt288x/rt288x.h>
-#include <asm/mach-rt288x/rt288x_pci.h>
+
+#include <asm/mach-ralink/rt288x.h>
+#include <asm/mach-ralink/rt288x_pci.h>
#ifdef CONFIG_PCI
diff --git a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
index 8baefc3f25..d4c65b6d04 100644
--- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
+++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
@@ -5,11 +5,12 @@
#include <linux/version.h>
#include <asm/pci.h>
#include <asm/io.h>
-#include <asm/mach-rt288x/rt288x.h>
-#include <asm/mach-rt288x/rt288x_pci.h>
#include <linux/init.h>
#include <linux/mod_devicetable.h>
+#include <asm/mach-ralink/rt288x.h>
+#include <asm/mach-ralink/rt288x_pci.h>
+
#ifdef CONFIG_PCI
extern int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
diff --git a/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch b/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch
new file mode 100644
index 0000000000..a1adbb53f3
--- /dev/null
+++ b/target/linux/ramips/patches-2.6.30/102-rt288x-pci-driver-hook.patch
@@ -0,0 +1,7 @@
+--- a/arch/mips/pci/Makefile
++++ b/arch/mips/pci/Makefile
+@@ -52,3 +52,4 @@
+ obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
+ obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
+ obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
++obj-$(CONFIG_SOC_RT288X) += pci-rt288x.o ops-rt288x.o