To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is 
wrong.
Here is its fix, and enables PCIe bus driver for some targets which have 2nd 
WiFi chipset via PCIe bus.

signed-off-by: n...@ff.iij4u.or.jp
————
--- 
a/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch  
    2015-01-05 20:51:44.539050748 +0900
+++ 
b/target/linux/ramips/patches-3.14/0031-PCI-MIPS-adds-rt2880-pci-support.patch  
    2015-02-09 19:42:12.609019758 +0900
@@ -19,7 +19,7 @@ Signed-off-by: John Crispin <blogic@open
  obj-$(CONFIG_LANTIQ)          += fixup-lantiq.o
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
  obj-$(CONFIG_SOC_MT7621)      += pci-mt7621.o
-+obj-$(CONFIG_SOC_RT2880)      += pci-rt2880.o
++obj-$(CONFIG_SOC_RT288X)      += pci-rt2880.o
  obj-$(CONFIG_SOC_RT3883)      += pci-rt3883.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
--- 
a/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch 
    2015-01-05 20:51:44.539050748 +0900
+++ 
b/target/linux/ramips/patches-3.14/0032-PCI-MIPS-adds-mt7620a-pcie-driver.patch 
    2015-02-09 19:53:21.251319068 +0900
@@ -18,7 +18,7 @@ Signed-off-by: John Crispin <blogic@open
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
  obj-$(CONFIG_SOC_MT7621)      += pci-mt7621.o
 +obj-$(CONFIG_SOC_MT7620)      += pci-mt7620.o
- obj-$(CONFIG_SOC_RT2880)      += pci-rt2880.o
+ obj-$(CONFIG_SOC_RT288X)      += pci-rt2880.o
  obj-$(CONFIG_SOC_RT3883)      += pci-rt3883.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
 --- /dev/null
--- a/target/linux/ramips/rt288x/config-3.14    2015-01-05 20:51:44.554050747 
+0900
+++ b/target/linux/ramips/rt288x/config-3.14    2015-02-11 08:17:03.709219113 
+0900
@@ -125,7 +125,7 @@ CONFIG_OF_MDIO=y
 CONFIG_OF_MTD=y
 CONFIG_OF_NET=y
 CONFIG_PAGEFLAGS_EXTENDED=y
-# CONFIG_PCI is not set
+CONFIG_PCI=y
 CONFIG_PERF_USE_VMALLOC=y
 CONFIG_PHYLIB=y
 # CONFIG_PINCONF is not set
————
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to