fix cpmac driver build

SVN-Revision: 2413
This commit is contained in:
Felix Fietkau 2005-11-11 11:22:41 +00:00
parent d77a76a27e
commit e88d0d4035

View file

@ -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