[PATCH 1/2] kernel: netdevices: Create Realtek DSA switch packages

INAGAKI Hiroshi musashino.open at gmail.com
Sun Jan 12 19:46:58 PST 2025


Hello Linus,

On 2025/01/13 8:14, Linus Walleij wrote:
> ...
>
> +$(eval $(call KernelPackage,dsa-realtek-mdio))
> +
> +define KernelPackage/dsa-realtek-smi
> +  SUBMENU:=$(NETWORK_DEVICES_MENU)
> +  TITLE:=Realtek DSA switches on SMI
> +  DEPENDS:=+kmod-dsa-realtek
> +  KCONFIG:= CONFIG_NET_DSA_REALTEK_SMI
> +  FILES:= $(LINUX_DIR)/drivers/net/dsa/realtek/realtek-smi.ko
> +  AUTOLOAD:=$(call AutoProbe,realtek-smi)
> +endef
> +
> +define KernelPackage/dsa-rtl8366rb/description

Isn't this "KernelPackage/dsa-realtek-smi/description" ?

> +  Kernel modules for Realtek switches on SMI
> +endef
> +
> +$(eval $(call KernelPackage,dsa-realtek-smi))
> +
>   define KernelPackage/swconfig
>     SUBMENU:=$(NETWORK_DEVICES_MENU)
>     TITLE:=switch configuration API
>

Cheers,
Hiroshi




More information about the openwrt-devel mailing list