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>
openwrt-19.07
Martin Schiller 2017-07-26 11:51:05 +02:00 committed by Hauke Mehrtens
parent 2f46f43754
commit 32f32398af
1 changed files with 20 additions and 0 deletions

View File

@ -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