aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/linux')
-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