ath79: mikrotik: compile SWCONFIG and AR8216_PHY as modules

Unset the SWCONFIG symbol and AR8216_PHY which selects SWCONFIG. Add
kmod-switch-ar8xxx, which enables AR8216_PHY, to DEFAULT_PACKAGES for the
subtarget. With this, swconfig driver will be now compiled as a module, as
kmod-switch-ar8xxx selects kmod-swconfig.

Refresh the config-default file for ath79/mikrotik while at it.

This change makes it possible to disable the swconfig driver for MikroTik
RouterBOARD 960PGS (hEX PoE/PowerBox Pro).

Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
This commit is contained in:
Chester A. Unal
2026-02-24 15:39:36 +02:00
committed by Daniel Golle
parent 38b0a59207
commit 9091c9f8cb
2 changed files with 3 additions and 1 deletions
@@ -1,3 +1,4 @@
# CONFIG_AR8216_PHY is not set
CONFIG_CRC16=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_HASH_INFO=y
@@ -38,6 +39,7 @@ CONFIG_NET_DSA=y
CONFIG_PHYLINK=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_SPI_RB4XX=y
# CONFIG_SWCONFIG is not set
CONFIG_UBIFS_FS=y
CONFIG_WATCHDOG_CORE=y
CONFIG_XXHASH=y
+1 -1
View File
@@ -3,7 +3,7 @@ FEATURES += minor nand
KERNELNAME := vmlinux vmlinuz
IMAGES_DIR := ../../..
DEFAULT_PACKAGES += wpad-basic-mbedtls yafut
DEFAULT_PACKAGES += wpad-basic-mbedtls yafut kmod-switch-ar8xxx
define Target/Description
Build firmware images for MikroTik devices based on Qualcomm Atheros