realtek: dsa: rename header file
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>
This commit is contained in:
parent
f7e76cc2e7
commit
8442d62521
@ -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);
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user