From 92cf661e537c5446dfcf6ec403d494679497a724 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 11 Nov 2005 11:22:41 +0000 Subject: [PATCH] fix cpmac driver build SVN-Revision: 2413 --- .../linux/linux-2.4/patches/ar7/003-net_driver_cpmac.patch | 4 ++-- 1 file 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 +#include + ++#include ++ +#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 -- 2.30.2