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

Rosen Penev rosenp at gmail.com
Wed Jan 26 00:02:56 PST 2022


On Tue, Jan 25, 2022 at 10:44 PM Oskari Lemmela <oskari at lemmela.net> wrote:
>
> 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
should be # ... is not set
>  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
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list