aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-07-26 11:51:05 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-09 22:39:17 +0200
commit32f32398af976e38de4b656dfe4fc49b98b038ea (patch)
tree58226dfa00cf9b8fea9d1b20e0a1581bfcdbc9df
parent2f46f4375480838b3e9b89e4bcd5117e71aae8cc (diff)
downloadupstream-32f32398af976e38de4b656dfe4fc49b98b038ea.tar.gz
upstream-32f32398af976e38de4b656dfe4fc49b98b038ea.tar.bz2
upstream-32f32398af976e38de4b656dfe4fc49b98b038ea.zip
kernel/modules: add kmod-mdio-gpio module
Add kernel module package for kmod-mdio-gpio. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Martin Schiller <ms@dev.tdt.de>
-rw-r--r--package/kernel/linux/modules/netdevices.mk20
1 files changed, 20 insertions, 0 deletions
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