[PATCH] kernel: kmod-phy-smsc: add dependency on crc16
Robert Marko
robimarko at gmail.com
Fri Mar 29 01:57:04 PDT 2024
On Thu, 28 Mar 2024 at 18:03, Tomasz Maciej Nowak <tmn505 at terefe.re> wrote:
>
> From: Tomasz Maciej Nowak <tmn505 at gmail.com>
>
> Introduced WoL feature needs CRC16 support.
>
> Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
> ---
> package/kernel/linux/modules/netdevices.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
> index af1d8b485e00..724f35df74a2 100644
> --- a/package/kernel/linux/modules/netdevices.mk
> +++ b/package/kernel/linux/modules/netdevices.mk
> @@ -363,7 +363,7 @@ define KernelPackage/phy-smsc
> SUBMENU:=$(NETWORK_DEVICES_MENU)
> TITLE:=SMSC PHY driver
> KCONFIG:=CONFIG_SMSC_PHY
> - DEPENDS:=+kmod-libphy
> + DEPENDS:=+kmod-libphy +!LINUX_5_15||!LINUX_6_1:kmod-lib-crc16
I would prefer depending on 6.6 for the kmod, not the other way around.
Regards,
Robert
> FILES:=$(LINUX_DIR)/drivers/net/phy/smsc.ko
> AUTOLOAD:=$(call AutoProbe,smsc)
> endef
> --
> 2.44.0
>
>
> _______________________________________________
> 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