diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-07 15:57:15 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-10 21:36:17 +0200 |
commit | 712ff388bcd0811256c07e8e1f4b92a007adaa7f (patch) | |
tree | 01152c6651c4dd54adb74aa8d6f7c823aae8794d /package/kernel | |
parent | 54878fbbdd6c3a7b9354ff800ddaeecaf1b6e13a (diff) | |
download | upstream-712ff388bcd0811256c07e8e1f4b92a007adaa7f.tar.gz upstream-712ff388bcd0811256c07e8e1f4b92a007adaa7f.tar.bz2 upstream-712ff388bcd0811256c07e8e1f4b92a007adaa7f.zip |
kernel: kmod-phy-ax88796b: Add new PHY
This adds the AX88796B PHY which is needed by the kmod-usb-net-asix
driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 17 | ||||
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index ffae986d5f..5e622eb83c 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -223,6 +223,23 @@ endef $(eval $(call KernelPackage,phylib-broadcom)) +define KernelPackage/phy-ax88796b + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Asix PHY driver + KCONFIG:=CONFIG_AX88796B_PHY + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/phy/ax88796b.ko + AUTOLOAD:=$(call AutoProbe,ax88796b) +endef + +define KernelPackage/phy-ax88796b/description + Currently supports the Asix Electronics PHY found in the X-Surf 100 + AX88796B package. +endef + +$(eval $(call KernelPackage,phy-ax88796b)) + + define KernelPackage/phy-broadcom SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Broadcom Ethernet PHY driver diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 854d9b2450..e153baf6f8 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1155,7 +1155,7 @@ $(eval $(call KernelPackage,usb-net-aqc111)) define KernelPackage/usb-net-asix TITLE:=Kernel module for USB-to-Ethernet Asix convertors - DEPENDS:=+kmod-libphy +LINUX_5_15:kmod-net-selftests +LINUX_5_15:kmod-mdio-devres + DEPENDS:=+kmod-libphy +LINUX_5_15:kmod-net-selftests +LINUX_5_15:kmod-mdio-devres +kmod-phy-ax88796b KCONFIG:=CONFIG_USB_NET_AX8817X FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko AUTOLOAD:=$(call AutoProbe,asix) |