summaryrefslogtreecommitdiff
path: root/package/ltq-dsl/src/ifxmips_compat.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-05-29 21:19:26 +0000
committerJohn Crispin <john@openwrt.org>2011-05-29 21:19:26 +0000
commit6608f419d1a23762f34482b4628f9159bcb81fc2 (patch)
tree3f0b966c3d64ee995d89ee1a904c4306eedf846d /package/ltq-dsl/src/ifxmips_compat.h
parentc7cdee0230c999197b017fb4aadd49f5eb7dc0b8 (diff)
downloadmtk-20170518-6608f419d1a23762f34482b4628f9159bcb81fc2.zip
mtk-20170518-6608f419d1a23762f34482b4628f9159bcb81fc2.tar.gz
mtk-20170518-6608f419d1a23762f34482b4628f9159bcb81fc2.tar.bz2
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi * bump tapi/dsl to .39 * migrate to new ltq_ style api * add amazon_se support SVN-Revision: 27026
Diffstat (limited to 'package/ltq-dsl/src/ifxmips_compat.h')
-rw-r--r--package/ltq-dsl/src/ifxmips_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ltq-dsl/src/ifxmips_compat.h b/package/ltq-dsl/src/ifxmips_compat.h
index f5b5768..ae375b7 100644
--- a/package/ltq-dsl/src/ifxmips_compat.h
+++ b/package/ltq-dsl/src/ifxmips_compat.h
@@ -26,7 +26,7 @@
#define IFX_PMU_MODULE_PPE_EMA (1 << 22)
#define IFX_PMU_MODULE_PPE_TOP (1 << 29)
-#define ifx_pmu_set(a,b) {if(a == IFX_PMU_ENABLE) lq_pmu_enable(b); else lq_pmu_disable(b);}
+#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))
#define PPE_SLL01_PMU_SETUP(__x) ifx_pmu_set(IFX_PMU_MODULE_PPE_SLL01, (__x))