fix: ap3825i4: Pin back pci sysfs addresses

Due to https://github.com/openwrt/openwrt/issues/10530, I had flashed
some ap3825i (among others, ap3825i4) with a firmware which changed
the sysfs path of the wireless cards. After that issue, however, we
managed to revert this back to the old behavior so as to avoid a conf
migration script; so, pin the sysfs paths back to stock.

We might profit from templating these sysfs paths out somehow -- we'd
just need to describe different templates for how we name cards in
multi-card systems (or something), and do some indirection in our
playbooks.
This commit is contained in:
Martin Kennedy 2023-04-07 12:54:33 -04:00
parent c6846320b8
commit cf8514dab7

View File

@ -104,12 +104,12 @@ openwrt:
wireless:
wifi_device:
- name: radio0
path: ffe0a000.pcie/pci0001:02/0001:02:00.0/0001:03:00.0
path: ffe0a000.pcie/pcia000:02/a000:02:00.0/a000:03:00.0
template: qca9880_5
channel: 48
- name: radio1
path: ffe09000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
path: ffe09000.pcie/pci9000:00/9000:00:00.0/9000:01:00.0
template: ath9k_2
channel: 6