[PATCH] kernel: kmod-phy-smsc: add dependency on crc16
Tomasz Maciej Nowak
tmn505 at gmail.com
Fri Mar 29 07:12:22 PDT 2024
W dniu 29.03.2024 o 09:57, Robert Marko pisze:
> 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.
I do prefer this version, otherwise if new major version is introduced and we
still will have three kernel versions, like at the moment, someone adding support
for it would need to add it to dependency list of this module. This would
naturally increase diffstat meaning more lines to review, while in this variant
other kernel version should naturally go away when it's dropped.
Nonetheless, v2 sent.
>
> Regards,
> Robert
Regards
--
TMN
More information about the openwrt-devel
mailing list