mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
82 lines
2.6 KiB
Diff
82 lines
2.6 KiB
Diff
|
From 1a1f2bd221d72f8e4fcb66b6b6763a158965f746 Mon Sep 17 00:00:00 2001
|
||
|
From: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||
|
Date: Mon, 11 Sep 2017 16:10:58 +0300
|
||
|
Subject: [PATCH] sdk_fman: resolve arm32 compilation issues for linux-4.13
|
||
|
|
||
|
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||
|
---
|
||
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c | 2 ++
|
||
|
.../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c | 2 ++
|
||
|
.../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c | 2 ++
|
||
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c | 2 ++
|
||
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c | 2 ++
|
||
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c | 2 ++
|
||
|
6 files changed, 12 insertions(+)
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
|
||
|
@@ -31,6 +31,8 @@
|
||
|
*/
|
||
|
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include "fsl_fman_dtsec.h"
|
||
|
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
|
||
|
@@ -31,6 +31,8 @@
|
||
|
*/
|
||
|
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include "common/general.h"
|
||
|
#include "fsl_fman_dtsec_mii_acc.h"
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
|
||
|
@@ -31,6 +31,8 @@
|
||
|
*/
|
||
|
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include "fsl_fman_memac_mii_acc.h"
|
||
|
|
||
|
static void write_phy_reg_10g(struct memac_mii_access_mem_map *mii_regs,
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
|
||
|
@@ -30,6 +30,8 @@
|
||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
*/
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include "fsl_fman_kg.h"
|
||
|
|
||
|
/****************************************/
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
|
||
|
@@ -31,6 +31,8 @@
|
||
|
*/
|
||
|
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include "common/general.h"
|
||
|
|
||
|
#include "fman_common.h"
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
|
||
|
@@ -31,6 +31,8 @@
|
||
|
*/
|
||
|
|
||
|
|
||
|
+#include "std_ext.h"
|
||
|
+#include "error_ext.h"
|
||
|
#include <linux/math64.h>
|
||
|
#include "fsl_fman.h"
|
||
|
#include "dpaa_integration_ext.h"
|