kernel: dsa-qca8k: depend on kmod-phy-qca83xx

The internal PHYs of the QCA8327/8334/8337 switches are handled by the
qca83xx PHY driver. Without it they silently fall back to genphy and
lose the chip-specific setup and fixups. Every device using
kmod-dsa-qca8k already pulls it in manually except the MikroTik
RB960PGS, which was missing it.

Add the dependency, like other DSA packages do with their PHY drivers,
and drop the now-redundant device package entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/25767
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen PenevandClaude Opus 5.5 authored and Robert Marko committed 2026-10-11 09:04:47 +02:00
1 parent 7782eaada2
commit 7f434d332a
5 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -891,7 +891,7 @@ $(eval $(call KernelPackage,dsa-mxl862xx))
define KernelPackage/dsa-qca8k
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Qualcomm Atheros QCA8xxx switch family DSA support
DEPENDS:=+kmod-dsa +kmod-regmap-core +!LINUX_6_12:kmod-mdio-devres
DEPENDS:=+kmod-dsa +kmod-phy-qca83xx +kmod-regmap-core +!LINUX_6_12:kmod-mdio-devres
KCONFIG:= \
CONFIG_NET_DSA_QCA8K \
CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT=y \
+2 -2
View File
@@ -43,7 +43,7 @@ define Device/meraki_mx60
DEVICE_ALT0_VENDOR := Cisco Meraki
DEVICE_ALT0_MODEL := MX60W
DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-ledtrig-usbport kmod-usb-dwc2 \
kmod-usb-storage block-mount kmod-dsa-qca8k kmod-phy-qca83xx
kmod-usb-storage block-mount kmod-dsa-qca8k
BLOCKSIZE := 128k
PAGESIZE := 2048
SUBPAGESIZE := 512
@@ -102,7 +102,7 @@ define Device/netgear_wndr4700
kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-usb-ledtrig-usbport \
kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \
kmod-nls-utf8 kmod-usb-xhci-pci-renesas kmod-usb-dwc2 kmod-usb-storage \
partx-utils kmod-ata-dwc kmod-dsa-qca8k kmod-phy-qca83xx \
partx-utils kmod-ata-dwc kmod-dsa-qca8k \
kmod-hwmon-tc654 kmod-hwmon-lm90 kmod-thermal
BOARD_NAME := wndr4700
PAGESIZE := 2048
+2 -2
View File
@@ -95,7 +95,7 @@ define Device/mikrotik_routerboard-951g-2hnd
$(Device/mikrotik_nand)
SOC := ar9344
DEVICE_MODEL := RouterBOARD 951G-2HnD
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2 kmod-dsa-qca8k kmod-phy-qca83xx \
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2 kmod-dsa-qca8k \
-swconfig -kmod-switch-ar8xxx
DEVICE_COMPAT_MESSAGE := \
Switched to DSA. Cannot preserve the network config.
@@ -147,7 +147,7 @@ define Device/mikrotik_routerboard-962uigs-5hact2hnt
SOC := qca9558
DEVICE_MODEL := RouterBOARD 962UiGS-5HacT2HnT (hAP ac)
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-usb2 \
kmod-i2c-gpio kmod-sfp kmod-dsa-qca8k kmod-phy-qca83xx \
kmod-i2c-gpio kmod-sfp kmod-dsa-qca8k \
-swconfig -kmod-switch-ar8xxx
IMAGE_SIZE := 16256k
DEVICE_COMPAT_MESSAGE := \
+2 -2
View File
@@ -186,7 +186,7 @@ define Device/avm_fritz5490
DEVICE_VARIANT := Other NAND
KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb-xhci-pci-renesas \
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-usb-xhci-pci-renesas \
fritz-tffs xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware \
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
@@ -205,7 +205,7 @@ define Device/avm_fritz5490-micron
DEVICE_VARIANT := Micron NAND
KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb-xhci-pci-renesas \
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-usb-xhci-pci-renesas \
fritz-tffs xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware \
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
+2 -2
View File
@@ -17,7 +17,7 @@ endef
define Device/aerohive_br200-wp
DEVICE_VENDOR := Aerohive
DEVICE_MODEL := BR200-WP
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx
DEVICE_PACKAGES := kmod-dsa-qca8k
BLOCKSIZE := 128k
KERNEL_NAME := simpleImage.br200-wp
KERNEL := kernel-bin | uImage none
@@ -55,7 +55,7 @@ define Device/tplink_tl-wdr4900-v1
DEVICE_VARIANT := v1
DEVICE_COMPAT_VERSION := 1.1
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-dsa-qca8k kmod-phy-qca83xx
DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-dsa-qca8k
TPLINK_HEADER_VERSION := 1
TPLINK_HWID := 0x49000001
TPLINK_HWREV := 1