]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dsa: rename header file main master 22931/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 14 Apr 2026 19:40:23 +0000 (21:40 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 16 Apr 2026 10:02:25 +0000 (12:02 +0200)
The rtl838x.h header is needed for all targets and not only RTL838x
specific. Rename it to rtl-otto.h to make clear that this is a
generic include.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22931
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/debugfs.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/qos.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl-otto.h [moved from target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl838x.h with 100% similarity]
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl931x.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.c

index 9e64b6d92020c468c5fa0d764a523cb8904b19dc..e0d3a59e6c98bc3ed37a3a53493f4d27e269755c 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/of_net.h>
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 struct phylink_pcs *rtpcs_create(struct device *dev, struct device_node *np, int port);
 
index ec4214606f3edb3be957016e252dff3f9acd94b1..4c4bd64d551b3c6716432c292aa3b8582cd159a6 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/kernel.h>
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 #define RTL838X_DRIVER_NAME "rtl838x"
 
index 000ddd2e713d8ddcd0bb97b3cc5bc40574f735a3..c41172a4eda08917b316d932a2fb1ffa5262cc6f 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/if_bridge.h>
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 static const u8 ipv4_ll_mcast_addr_base[ETH_ALEN] = {
        0x01, 0x00, 0x5e, 0x00, 0x00, 0x00
index 343110b951590ae37bdeac1fbdf737f9e8d7a0d8..ced174124359169e77868cbb7cc55893187acd14 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/delay.h>
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 enum scheduler_type {
        WEIGHTED_FAIR_QUEUE = 0,
index 512326ae924c7329add9c6c9e693c4eed0052917..98e191fca875c60410a5d1789c0a0ebc35090608 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/iopoll.h>
 #include <net/nexthop.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 #define RTL838X_VLAN_PORT_TAG_STS_UNTAG                                0x0
 #define RTL838X_VLAN_PORT_TAG_STS_TAGGED                       0x1
index 3bf5c9e5a653d86e39f77ed05927eba13b4621c9..56b72f62f480c36069cb57845d1437c1b37fd0d9 100644 (file)
@@ -3,7 +3,7 @@
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 #include <linux/etherdevice.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 #define RTL839X_VLAN_PORT_TAG_STS_UNTAG                                0x0
 #define RTL839X_VLAN_PORT_TAG_STS_TAGGED                       0x1
index a9c36a3d782717becf1774ec55ada93106b9eed3..4942e873c09c04e391315fcbcba04eb3c7489b67 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/etherdevice.h>
 #include <linux/inetdevice.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 #define RTL930X_VLAN_PORT_TAG_STS_INTERNAL                     0x0
 #define RTL930X_VLAN_PORT_TAG_STS_UNTAG                                0x1
index db184dd4ad9f42b1d02562bffdadd6ac8cd9906e..b3e95a6be1f04164daeaf0cc78808445a3fc2e84 100644 (file)
@@ -3,7 +3,7 @@
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 #include <linux/etherdevice.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 #define RTL931X_VLAN_PORT_TAG_STS_INTERNAL                     0x0
 #define RTL931X_VLAN_PORT_TAG_STS_UNTAG                                0x1
index 2128787db088a26468a84776056f9f4779f9f93e..fbec20a8c5d8eceab1ffb045cef0d443d3877a41 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/rhashtable.h>
 #include <asm/mach-rtl-otto/mach-rtl-otto.h>
 
-#include "rtl838x.h"
+#include "rtl-otto.h"
 
 /* Parse the flow rule for the matching conditions */
 static int rtl83xx_parse_flow_rule(struct rtl838x_switch_priv *priv,