mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 20:24:03 +02:00
fix cpmac driver build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2413 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
595cd21460
commit
75bddef71a
@ -3736,6 +3736,8 @@ diff -urN linux.old/drivers/net/avalanche_cpmac/cpmacHalLx.c linux.dev/drivers/n
|
|||||||
+#include <asm/io.h>
|
+#include <asm/io.h>
|
||||||
+#include <linux/string.h>
|
+#include <linux/string.h>
|
||||||
+
|
+
|
||||||
|
+#include <asm/ar7/avalanche_intc.h>
|
||||||
|
+
|
||||||
+#include "cpmacHalLx.h"
|
+#include "cpmacHalLx.h"
|
||||||
+#include "cpmac.h"
|
+#include "cpmac.h"
|
||||||
+
|
+
|
||||||
@ -3743,8 +3745,6 @@ diff -urN linux.old/drivers/net/avalanche_cpmac/cpmacHalLx.c linux.dev/drivers/n
|
|||||||
+#include "psp_config_parse.h"
|
+#include "psp_config_parse.h"
|
||||||
+#include "psp_config_mgr.h"
|
+#include "psp_config_mgr.h"
|
||||||
+
|
+
|
||||||
+/* Probe Debug Section*/
|
|
||||||
+
|
|
||||||
+/* debug */
|
+/* debug */
|
||||||
+extern int cpmac_debug_mode;
|
+extern int cpmac_debug_mode;
|
||||||
+#define dbgPrint if (cpmac_debug_mode) printk
|
+#define dbgPrint if (cpmac_debug_mode) printk
|
||||||
|
Loading…
Reference in New Issue
Block a user