[openwrt/openwrt] imx: cortexa53: remove KSZ9477 static driver
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 24 01:48:31 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/231553b280925f1c1154c9a7c8549c4cbbea7c9e
commit 231553b280925f1c1154c9a7c8549c4cbbea7c9e
Author: Tim Harvey <tharvey at gateworks.com>
AuthorDate: Thu Feb 19 17:01:48 2026 -0800
imx: cortexa53: remove KSZ9477 static driver
The KSZ9477 driver was added to the cortexa53 kernel to support the
Gateworks Venice product family which has a board with this switch. Now
that the kmod-dsa-ksz9477 driver is available as a package remove the
static configuration ad add the package.
This resolves an issue caused by having the switch driver static and the
PHY driver as a module such that the PHY driver was not registered early
enough to be used causing some errata to not be worked around.
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/22120
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/imx/cortexa53/config-default | 5 -----
target/linux/imx/image/cortexa53.mk | 3 ++-
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/target/linux/imx/cortexa53/config-default b/target/linux/imx/cortexa53/config-default
index 248baddbf5..95e6d48bb0 100644
--- a/target/linux/imx/cortexa53/config-default
+++ b/target/linux/imx/cortexa53/config-default
@@ -102,11 +102,6 @@ CONFIG_MFD_ROHM_BD718XX=y
# CONFIG_MMC_SDHCI_PCI is not set
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_NEED_SG_DMA_LENGTH=y
-# CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI is not set
-CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=y
-CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=y
-# CONFIG_NET_DSA_MICROCHIP_KSZ_SPI is not set
-CONFIG_NET_DSA_TAG_KSZ=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_PARTITION_PERCPU=y
CONFIG_PCI=y
diff --git a/target/linux/imx/image/cortexa53.mk b/target/linux/imx/image/cortexa53.mk
index e618e3ee0a..a3187943b6 100644
--- a/target/linux/imx/image/cortexa53.mk
+++ b/target/linux/imx/image/cortexa53.mk
@@ -70,7 +70,8 @@ define Device/gateworks_venice
kmod-hwmon-gsc kmod-rtc-ds1672 kmod-eeprom-at24 \
kmod-gpio-button-hotplug kmod-leds-gpio kmod-pps-gpio \
kmod-lan743x kmod-sky2 kmod-iio-st_accel-i2c \
- kmod-can kmod-can-flexcan kmod-can-mcp251x
+ kmod-can kmod-can-flexcan kmod-can-mcp251x \
+ kmod-dsa-ksz9477-i2c
IMAGES := img.gz
IMAGE/img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef
More information about the lede-commits
mailing list