From cf8514dab7b6e24e1dd75dc21c9201155b670a1a Mon Sep 17 00:00:00 2001 From: Martin Kennedy Date: Fri, 7 Apr 2023 12:54:33 -0400 Subject: [PATCH] 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. --- inventory.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory.yml b/inventory.yml index 0e64af7..020e4f4 100644 --- a/inventory.yml +++ b/inventory.yml @@ -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