fix cpmac driver build
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Nov 2005 11:22:41 +0000 (11:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 11 Nov 2005 11:22:41 +0000 (11:22 +0000)
SVN-Revision: 2413

openwrt/target/linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch

index 11329910e0312b2c33ff920ae5774e69d01f6c0c..42b64584dac60986dcf8b0b72984193d37a4cc2d 100644 (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