|
@@ -180,6 +180,22 @@ endef
|
|
|
$(eval $(call KernelPackage,phy-broadcom))
|
|
|
|
|
|
|
|
|
+define KernelPackage/phy-realtek
|
|
|
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
|
|
|
+ TITLE:=Realtek Ethernet PHY driver
|
|
|
+ KCONFIG:=CONFIG_REALTEK_PHY
|
|
|
+ DEPENDS:=+kmod-libphy
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/net/phy/realtek.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,18,realtek,1)
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/phy-realtek/description
|
|
|
+ Supports the Realtek 821x PHY.
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,phy-realtek))
|
|
|
+
|
|
|
+
|
|
|
define KernelPackage/swconfig
|
|
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
|
|
TITLE:=switch configuration API
|
|
@@ -466,7 +482,7 @@ $(eval $(call KernelPackage,8139cp))
|
|
|
define KernelPackage/r8169
|
|
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
|
|
TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
|
|
|
- DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware
|
|
|
+ DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +LINUX_4_19:kmod-phy-realtek
|
|
|
KCONFIG:=CONFIG_R8169 \
|
|
|
CONFIG_R8169_NAPI=y \
|
|
|
CONFIG_R8169_VLAN=n
|