Skip to content

Commit

Permalink
kernel: kmod-phy-ax88796b: Add new PHY
Browse files Browse the repository at this point in the history
This adds the AX88796B PHY which is needed by the kmod-usb-net-asix
driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke authored and pull[bot] committed Dec 19, 2023
1 parent e5ae479 commit 1842688
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions package/kernel/linux/modules/netdevices.mk
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,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
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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:=+(LINUX_5_4||LINUX_5_10):kmod-libphy +LINUX_6_1:kmod-phylink \
DEPENDS:=+kmod-phy-ax88796b +LINUX_6_1:kmod-phylink \
+(LINUX_5_15||LINUX_6_1):kmod-mdio-devres \
+(LINUX_5_15||LINUX_6_1):kmod-net-selftests
KCONFIG:=CONFIG_USB_NET_AX8817X
Expand Down

0 comments on commit 1842688

Please sign in to comment.