mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
kernel: kmod-phy-smsc: Add new PHY
This adds the SMSC PHY which is needed by the kmod-usb-net-smsc95xx driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 5b016a88f92f25dd7d32438bce3a469f343f4009)
This commit is contained in:
parent
fd4a354f3e
commit
1c7a167366
@ -292,6 +292,22 @@ endef
|
|||||||
$(eval $(call KernelPackage,phy-realtek))
|
$(eval $(call KernelPackage,phy-realtek))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/phy-smsc
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=SMSC PHY driver
|
||||||
|
KCONFIG:=CONFIG_SMSC_PHY
|
||||||
|
DEPENDS:=+kmod-libphy
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/net/phy/smsc.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,smsc)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/phy-smsc/description
|
||||||
|
Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,phy-smsc))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/swconfig
|
define KernelPackage/swconfig
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=switch configuration API
|
TITLE:=switch configuration API
|
||||||
|
@ -1266,7 +1266,7 @@ $(eval $(call KernelPackage,usb-net-smsc75xx))
|
|||||||
|
|
||||||
define KernelPackage/usb-net-smsc95xx
|
define KernelPackage/usb-net-smsc95xx
|
||||||
TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
|
TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
|
||||||
DEPENDS:=+LINUX_5_10:kmod-libphy
|
DEPENDS:=+LINUX_5_10:kmod-libphy +kmod-phy-smsc
|
||||||
KCONFIG:=CONFIG_USB_NET_SMSC95XX
|
KCONFIG:=CONFIG_USB_NET_SMSC95XX
|
||||||
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
|
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,smsc95xx)
|
AUTOLOAD:=$(call AutoProbe,smsc95xx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user