From: Martin Schiller Date: Wed, 26 Jul 2017 09:51:05 +0000 (+0200) Subject: kernel/modules: add kmod-mdio-gpio module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=32f32398af976e38de4b656dfe4fc49b98b038ea;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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