aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-01-21 16:33:34 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-13 22:30:59 +0100
commit0bd5aa89fcf20dc5db073d925d5a08e779ae6292 (patch)
treebf3ef5c9cce89e22c43a566613860bd8d66fe5a9 /package
parent4ccad922293a729369712026f647f85266322851 (diff)
downloadupstream-0bd5aa89fcf20dc5db073d925d5a08e779ae6292.tar.gz
upstream-0bd5aa89fcf20dc5db073d925d5a08e779ae6292.tar.bz2
upstream-0bd5aa89fcf20dc5db073d925d5a08e779ae6292.zip
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>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions