From 32f32398af976e38de4b656dfe4fc49b98b038ea Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 26 Jul 2017 11:51:05 +0200 Subject: [PATCH] kernel/modules: add kmod-mdio-gpio module Add kernel module package for kmod-mdio-gpio. Signed-off-by: Florian Eckert Signed-off-by: Martin Schiller --- package/kernel/linux/modules/netdevices.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 0da8bcdf56..372cb47c60 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -110,6 +110,26 @@ endef $(eval $(call KernelPackage,mii)) +define KernelPackage/mdio-gpio + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:= Supports GPIO lib-based MDIO busses + DEPENDS:=+kmod-libphy @GPIO_SUPPORT + KCONFIG:= \ + CONFIG_MDIO_BITBANG \ + CONFIG_MDIO_GPIO + FILES:= \ + $(LINUX_DIR)/drivers/net/phy/mdio-gpio.ko \ + $(LINUX_DIR)/drivers/net/phy/mdio-bitbang.ko + AUTOLOAD:=$(call AutoProbe,mdio-gpio) +endef + +define KernelPackage/mdio-gpio/description + Supports GPIO lib-based MDIO busses +endef + +$(eval $(call KernelPackage,mdio-gpio)) + + define KernelPackage/et131x SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Agere ET131x Gigabit Ethernet driver -- 2.30.2