[PATCH 1/5] ath79: mikrotik: change to qca8k DSA driver

Oskari Lemmela oskari at lemmela.net
Tue Jan 25 22:38:41 PST 2022


Current mikrotik ath79 devices do not use switch drivers.
Enable the QCA8K driver and disable the old AR8126 phy.

Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
---
 target/linux/ath79/mikrotik/config-default | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ath79/mikrotik/config-default b/target/linux/ath79/mikrotik/config-default
index 2ff8a14f1d..175c4fac1f 100644
--- a/target/linux/ath79/mikrotik/config-default
+++ b/target/linux/ath79/mikrotik/config-default
@@ -1,3 +1,5 @@
+CONFIG_AR8216_PHY=n
+CONFIG_AR8216_PHY_LEDS=n
 CONFIG_CRC16=y
 CONFIG_CRYPTO_DEFLATE=y
 CONFIG_GPIO_LATCH=y
@@ -27,6 +29,8 @@ CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_LIMIT=20
 CONFIG_NET_DSA=y
+CONFIG_NET_DSA_QCA8K=y
+CONFIG_NET_DSA_TAG_QCA=y
 CONFIG_NET_SWITCHDEV=y
 CONFIG_PCI_AR71XX=y
 CONFIG_PHY_AR7100_USB=y
-- 
2.25.1




More information about the openwrt-devel mailing list