mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-21 17:04:28 +04:00
This fixes regressed support for Tenda AC9 which got broken somewhere between LEDE 17.01 and OpenWrt 18.06. At some point bcm47xx_nvram_gpio_pin() started working on bcm53xx devices and it resulted in swconfig b53 performing GPIO-based switch reset. It exposed some bug as switch stopped working. The problem is most likely to be some missing initialization step. Tenda AC9 comes with BCM53125 rev 4 (pretty common chip) but apparently needs some extra quirk. As a workaround (it doesn't make much sense to debug swconfig driver which has a working DSA replacement) simply avoid full switch reset. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>