summaryrefslogtreecommitdiffstats
path: root/package/ltq-dsl/src/ifxmips_compat.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-03-25 08:50:42 +0000
committerJohn Crispin <john@openwrt.org>2012-03-25 08:50:42 +0000
commitb85de8f3855448a54bdb4572e724660e2d0b2ba6 (patch)
tree9136d132a4db037899efd50481a36b193d0736bc /package/ltq-dsl/src/ifxmips_compat.h
parentb982e8166bebeb79c64aae2689c06db06fe6d506 (diff)
downloadmaster-31e0f0ae-b85de8f3855448a54bdb4572e724660e2d0b2ba6.tar.gz
master-31e0f0ae-b85de8f3855448a54bdb4572e724660e2d0b2ba6.tar.bz2
master-31e0f0ae-b85de8f3855448a54bdb4572e724660e2d0b2ba6.zip
fix for 3.2.9
SVN-Revision: 31065
Diffstat (limited to 'package/ltq-dsl/src/ifxmips_compat.h')
-rw-r--r--package/ltq-dsl/src/ifxmips_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ltq-dsl/src/ifxmips_compat.h b/package/ltq-dsl/src/ifxmips_compat.h
index bd357e98cf..b0c9f25f48 100644
--- a/package/ltq-dsl/src/ifxmips_compat.h
+++ b/package/ltq-dsl/src/ifxmips_compat.h
@@ -34,6 +34,9 @@
#define IFX_PMU_MODULE_PPE_EMA (1 << 22)
#define IFX_PMU_MODULE_PPE_TOP (1 << 29)
+extern void ltq_pmu_enable(unsigned int module);
+extern void ltq_pmu_disable(unsigned int module);
+
#define ifx_pmu_set(a,b) {if(a == IFX_PMU_ENABLE) ltq_pmu_enable(b); else ltq_pmu_disable(b);}
#define PPE_TOP_PMU_SETUP(__x) ifx_pmu_set(IFX_PMU_MODULE_PPE_TOP, (__x))