openwrt/target/linux/mvebu
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
..
base-files mvebu: Migrate uci config to new PCIe path 2018-02-13 22:30:59 +01:00
files-4.4/arch/arm/boot/dts mvebu: move files to files-4.9 and files-4.4 folder 2018-02-13 22:24:56 +01:00
files-4.9/arch/arm/boot/dts mvebu: move files to files-4.9 and files-4.4 folder 2018-02-13 22:24:56 +01:00
image mvebu: fix sysupgrade from 17.04 for clearfog pro 2018-02-11 23:15:05 +01:00
patches-4.4 kernel: bump 4.4 to 4.4.112 2018-01-20 20:22:01 +01:00
patches-4.9 kernel: bump 4.9 to 4.9.77 2018-01-20 20:22:01 +01:00
patches-4.14 mvebu: Add support for kernel 4.14 2018-02-13 22:29:56 +01:00
profiles uboot-mvebu: switch to u-boot.mk 2017-01-24 16:21:24 +01:00
config-4.4 kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
config-4.9 kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
config-4.14 mvebu: Add support for kernel 4.14 2018-02-13 22:29:56 +01:00
Makefile mvebu: add linux 4.9 support 2017-02-16 17:17:15 +01:00