summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/mt7601udrv/include/vrut_ubm.h
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/devkit/mt7601udrv/include/vrut_ubm.h')
-rw-r--r--cleopatre/devkit/mt7601udrv/include/vrut_ubm.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/cleopatre/devkit/mt7601udrv/include/vrut_ubm.h b/cleopatre/devkit/mt7601udrv/include/vrut_ubm.h
new file mode 100644
index 0000000000..fab13c4ea6
--- /dev/null
+++ b/cleopatre/devkit/mt7601udrv/include/vrut_ubm.h
@@ -0,0 +1,42 @@
+/****************************************************************************
+ * Ralink Tech Inc.
+ * Taiwan, R.O.C.
+ *
+ * (c) Copyright 2010, Ralink Technology, Inc.
+ *
+ * All rights reserved. Ralink's source code is an unpublished work and the
+ * use of a copyright notice does not imply otherwise. This source code
+ * contains confidential trade secret material of Ralink Tech. Any attemp
+ * or participation in deciphering, decoding, reverse engineering or in any
+ * way altering the source code is stricitly prohibited, unless the prior
+ * written consent of Ralink Technology, Inc. is obtained.
+ ***************************************************************************/
+
+/****************************************************************************
+
+ Abstract:
+
+ All Related Structure & Definition for UBICOM platform.
+
+ Only used in UTIL module.
+
+***************************************************************************/
+
+#ifndef __VR_UBICOM_H__
+#define __VR_UBICOM_H__
+
+#ifdef PLATFORM_UBM_IPX8
+
+#include <asm/cachectl.h>
+
+#undef RTMP_UTIL_DCACHE_FLUSH
+#define RTMP_UTIL_DCACHE_FLUSH(__AddrStart, __Size) \
+ flush_dcache_range((ULONG)(__AddrStart), \
+ (ULONG)(((UCHAR *)(__AddrStart)) + __Size - 1))
+
+#endif /* PLATFORM_UBM_IPX8 */
+
+#endif /* __VR_UBICOM_H__ */
+
+/* End of vrut_ubm.h */
+