aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h')
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h
index 63a5a3741a..8b8e310aef 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h
@@ -306,6 +306,12 @@
#define DREG_B0_LADR PPE_REG_ADDR(0x0DA8)
#define DREG_B1_LADR PPE_REG_ADDR(0x0DA9)
+static inline int
+ifx_drv_ver(char *buf, char *module, int major, int mid, int minor)
+{
+ return sprintf(buf, "Lantiq %s driver, version %d.%d.%d, (c) 2001-2013 Lantiq Deutschland GmbH\n",
+ module, major, mid, minor);
+}
#endif // IFXMIPS_PTM_PPE_COMMON_H