mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-19 07:41:17 +01:00
realtek: convert mach includes to rtl-otto
Right now the global includes are all named rtl838x. This suggests that they are only for one of the four SoC types (RTL838x aka Maple) required. As we are talking about the Otto platform rename that accordingly. All the drivers have already adapted that some time ago. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22005 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
b325e6e5ee
commit
2b4cdb6941
18 changed files with 15 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Realtek RTL838x SoCs
|
||||
#
|
||||
cflags-$(CONFIG_MACH_REALTEK_RTL) += -I$(srctree)/arch/mips/include/asm/mach-rtl838x/
|
||||
cflags-$(CONFIG_MACH_REALTEK_RTL) += -I$(srctree)/arch/mips/include/asm/mach-rtl-otto/
|
||||
load-$(CONFIG_MACH_REALTEK_RTL) += 0xffffffff80100000
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
#include <asm/smp-ops.h>
|
||||
#include <linux/smp.h>
|
||||
|
||||
#include <mach-rtl83xx.h>
|
||||
#include <mach-rtl-otto.h>
|
||||
|
||||
#define RTL_SOC_BASE ((volatile void *) 0xB8000000)
|
||||
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
#include <asm/prom.h>
|
||||
#include <asm/smp-ops.h>
|
||||
|
||||
#include "mach-rtl83xx.h"
|
||||
#include "mach-rtl-otto.h"
|
||||
|
||||
extern struct rtl83xx_soc_info soc_info;
|
||||
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
#include <linux/platform_device.h>
|
||||
#include <linux/rhashtable.h>
|
||||
#include <linux/of_net.h>
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <net/dsa.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/if_bridge.h>
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <net/dsa.h>
|
||||
#include <linux/delay.h>
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/iopoll.h>
|
||||
#include <net/nexthop.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef _RTL838X_H
|
||||
#define _RTL838X_H
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include <net/dsa.h>
|
||||
|
||||
/* Register definition */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include <linux/etherdevice.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/inetdevice.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include <linux/etherdevice.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <linux/netdevice.h>
|
||||
#include <net/flow_offload.h>
|
||||
#include <linux/rhashtable.h>
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
|
||||
#include "rtl83xx.h"
|
||||
#include "rtl838x.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include <net/dsa.h>
|
||||
#include <net/switchdev.h>
|
||||
|
||||
#include <asm/mach-rtl838x/mach-rtl83xx.h>
|
||||
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
|
||||
#include "rtl838x_eth.h"
|
||||
|
||||
int rtl83xx_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Submitted-by: Birger Koblitz <git@birger-koblitz.de>
|
|||
platform-$(CONFIG_PIC32MZDA) += pic32/
|
||||
platform-$(CONFIG_RALINK) += ralink/
|
||||
platform-$(CONFIG_MIKROTIK_RB532) += rb532/
|
||||
+platform-$(CONFIG_MACH_REALTEK_RTL) += rtl838x/
|
||||
+platform-$(CONFIG_MACH_REALTEK_RTL) += rtl-otto/
|
||||
platform-$(CONFIG_SGI_IP22) += sgi-ip22/
|
||||
platform-$(CONFIG_SGI_IP27) += sgi-ip27/
|
||||
platform-$(CONFIG_SGI_IP28) += sgi-ip22/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue