summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/linux-2.4
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-11 11:22:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-11 11:22:41 +0000
commit75bddef71ae05b51afd36fc9dab9ff9e1b8a3cd2 (patch)
treeefdab261597027d0c904ad107a5c865c0ac2a1de /openwrt/target/linux/linux-2.4
parent595cd21460a5e281f8fac8cd17ac8e413bf9d14b (diff)
fix cpmac driver build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2413 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/linux-2.4')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch b/openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch
index 11329910e0..42b64584da 100644
--- a/openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch
+++ b/openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch
@@ -3736,6 +3736,8 @@ diff -urN linux.old/drivers/net/avalanche_cpmac/cpmacHalLx.c linux.dev/drivers/n
+#include <asm/io.h>
+#include <linux/string.h>
+
++#include <asm/ar7/avalanche_intc.h>
++
+#include "cpmacHalLx.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_mgr.h"
+
-+/* Probe Debug Section*/
-+
+/* debug */
+extern int cpmac_debug_mode;
+#define dbgPrint if (cpmac_debug_mode) printk