openwrt/target/linux
Hauke Mehrtens 0bd5aa89fc mvebu: Migrate uci config to new PCIe path
The name of the PCIe controller node in device tree changed between
kernel 4.9 and kernel 4.14. Migrate the configuration when an update
from kernel 4.9 to 4.14 or back is done to the new name to make
the existing wifi configuration compatible with the new names.

This replaces the "pcie-controller" part with "pcie" on all nodes if the
file exists in sys fs.

This is not done in the uci-defualts, because they are getting executed
to late in the boot process. The kernel module gets loaded before the
uci-defaults scripts are executed. When the mwlwifi driver gets loaded
it will trigger an event via hotplug to detect new devices and as the
paths are not in the uci configuration they will be added again.
When the migration is done before the script will detect that they are
already there.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-02-13 22:30:59 +01:00
..
adm5120
adm8668
apm821xx kernel: bump 4.14 to 4.14.18 2018-02-08 18:43:13 +01:00
ar7 ar7: switch to kernel 4.9 2018-02-12 11:45:33 +01:00
ar71xx ar71xx: add more registers to ar71x_regs.h 2018-02-13 11:20:58 +01:00
arc770
archs38 archs38: bump kernel to 4.14. 2018-02-10 20:59:52 +01:00
armvirt
at91
ath25
au1000
bcm53xx
brcm47xx
brcm63xx brcm63xx: drop root parameter from cmdline 2018-02-13 13:17:26 +01:00
brcm2708
cns3xxx cns3xxx: remove linux 4.9 support 2018-02-13 10:01:53 +01:00
gemini
generic kernel: ubifs: create use file system format 4 by default 2018-02-13 22:24:56 +01:00
imx6 imx6: use DTS_DIR at image build code 2018-02-10 21:02:53 +01:00
ipq806x ipq806x: switch to full dual-boot for the nbg6817 sysupgrade support 2018-02-13 12:45:00 +01:00
ixp4xx ixp4xx: remove linux 4.4 support 2018-02-09 10:29:07 +01:00
kirkwood
lantiq
layerscape layerscape: fix call trace of pfe module removing 2018-02-13 10:01:51 +01:00
malta
mcs814x
mediatek mediatek: remove the CPU_SUBTYPE 2018-02-13 10:01:53 +01:00
mpc85xx
mvebu mvebu: Migrate uci config to new PCIe path 2018-02-13 22:30:59 +01:00
mxs mxs: rename files to files-4.9 2018-02-13 10:01:52 +01:00
octeon octeon: switch to kernel 4.14 2018-02-08 19:04:38 +01:00
octeontx octeontx: add support for OCTEON TX target 2018-02-13 10:01:52 +01:00
omap
omap24xx
orion
oxnas
pistachio
ppc40x
ppc44x
ramips ramips: add support for D-Link DAP-1522 A1 2018-02-13 11:18:07 +01:00
rb532
sunxi
uml
x86 x86: add preinit hook to reload microcode 2018-02-11 14:39:24 +01:00
xburst
zynq
Makefile