]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: an7581: 6.18: switch to kmod-phy-realtek for w1700k
authorKenneth Kasilag <kenneth@kasilag.me>
Thu, 21 May 2026 22:30:07 +0000 (22:30 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 3 Jun 2026 07:06:34 +0000 (09:06 +0200)
commitecabaa534ed01b123dec42f2b89e5b62ff1494e2
tree58713be3f350d594eaa7c3f27f83924e4a6a92cd
parent8e629c437213c74ed26ef4350430016497537231
airoha: an7581: 6.18: switch to kmod-phy-realtek for w1700k

Use the new kmod-phy-realtek driver for kernel 6.18 on
Gemtek W1700K.

The driver selection is gated using `KERNEL_PATCHVER` to
avoid build failures on 6.12.

The device tree selection is also gated by `KERNEL_PATCHVER`
to select the appropriate device tree per kernel version.

Once kernel 6.18 is tested stable for airoha these changes
can be simplified and the obsolete properties removed.

Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me>
Link: https://github.com/openwrt/openwrt/pull/21019
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/airoha/dts/an7581-w1700k-ubi-618.dts [new file with mode: 0644]
target/linux/airoha/dts/an7581-w1700k-ubi.dts
target/linux/airoha/image/an7581.mk