Hi Robert, I know that you're just expanding existing code (which I recently noticed for the first time) but I think that adding more and more if/else clauses with further hardware matches for purely cosmetic reasons* is a good way forward.
At the very least a mechanism should be added to configure this FDT-to-PCI-ID-to-name mapping in the devices.txt file directly. *) Many hardware entries are simply added to show a fancy radio name instead of "Generic MAC80211" radio but don't add non-defaults values such as power offsets or antenna gains. Regards, Jo
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel