mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
patches: carry forward RTL8367C/S switch support (0042)
Adds compile option for RTL8367C/S switch support. Renumbered from patches/0054. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
From 3b2752de74e9e47c1088575d90ef81474aec65c3 Mon Sep 17 00:00:00 2001
|
||||
From beda1294f3ce794287108a7a9d771c469759dd12 Mon Sep 17 00:00:00 2001
|
||||
From: Ken <xshi@actiontec.com>
|
||||
Date: Tue, 17 Oct 2023 11:01:25 +0800
|
||||
Subject: [PATCH 54/68] Add RTL8367C/S switch compile option
|
||||
Subject: [PATCH 42/55] package/linux: Add RTL8367C/S switch compile option
|
||||
|
||||
Adds kernel module support for Realtek RTL8367C/S managed switches, enabling configuration of these switches on devices that use them.
|
||||
|
||||
Signed-off-by: Ken <xshi@actiontec.com>
|
||||
---
|
||||
package/kernel/linux/modules/netdevices.mk | 18 +++++++++++++++++-
|
||||
1 file changed, 17 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
|
||||
index b8f2466cb4..1905e79a4f 100644
|
||||
index c60a947978..b64bd9db0d 100644
|
||||
--- a/package/kernel/linux/modules/netdevices.mk
|
||||
+++ b/package/kernel/linux/modules/netdevices.mk
|
||||
@@ -7,6 +7,22 @@
|
||||
@@ -34,10 +37,10 @@ index b8f2466cb4..1905e79a4f 100644
|
||||
define KernelPackage/sis190
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=SiS 190 Fast/Gigabit Ethernet support
|
||||
@@ -456,7 +472,7 @@ define KernelPackage/switch-rtl8366-smi
|
||||
@@ -701,7 +717,7 @@ define KernelPackage/switch-rtl8366-smi
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Realtek RTL8366 SMI switch interface support
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_loongarch64||TARGET_malta||TARGET_tegra):kmod-of-mdio
|
||||
- KCONFIG:=CONFIG_RTL8366_SMI
|
||||
+ KCONFIG:=CONFIG_RTL8366_SMI=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
|
||||
Reference in New Issue
Block a user