diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-01-21 16:33:34 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-02-13 22:30:59 +0100 |
commit | 0bd5aa89fcf20dc5db073d925d5a08e779ae6292 (patch) | |
tree | bf3ef5c9cce89e22c43a566613860bd8d66fe5a9 /target/linux/mvebu/Makefile | |
parent | 4ccad922293a729369712026f647f85266322851 (diff) | |
download | upstream-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 'target/linux/mvebu/Makefile')
0 files changed, 0 insertions, 0 deletions