[openwrt/openwrt] kernel: modules: appletalk: add for Netatalk v4

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:58:31 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/b2f3713801c22d496791949877e6466864eaaa41

commit b2f3713801c22d496791949877e6466864eaaa41
Author: Antonio Pastor <antonio.pastor at gmail.com>
AuthorDate: Sat Nov 16 15:09:49 2024 -0500

    kernel: modules: appletalk: add for Netatalk v4
    
    Netatalk v4 reintroduces AppleTalk and this module is required for
    layer 3 protocol support.
    
    Module was removed in kernel 4.14 for OpenWrt 18.06 (commmit
    14a0131, 22/02/2018). At the time nothing used it as Netatalk v3
    did not support AppleTalk.
    
    Not building ipddp feature/module like it was in the past, as
    recommended by upstream Netatalk maintainers.
    
    Signed-off-by: Antonio Pastor <antonio.pastor at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16979
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 5eb25dddb17fa3cf4958e91dfc9fc868c9eb03ac)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/netsupport.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 9f349d34ee..3551a89a9b 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -42,6 +42,24 @@ endef
 $(eval $(call KernelPackage,atmtcp))
 
 
+define KernelPackage/appletalk
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=Appletalk protocol support
+  KCONFIG:= \
+        CONFIG_ATALK \
+        CONFIG_DEV_APPLETALK \
+        CONFIG_IPDDP=n
+  FILES:=$(LINUX_DIR)/net/appletalk/appletalk.ko
+  AUTOLOAD:=$(call AutoLoad,40,appletalk)
+endef
+
+define KernelPackage/appletalk/description
+  Kernel module for AppleTalk protocol.
+endef
+
+$(eval $(call KernelPackage,appletalk))
+
+
 define KernelPackage/bonding
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=Ethernet bonding driver




More information about the lede-commits mailing list