summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-csr-2.0/le.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ixp4xx/ixp4xx-csr-2.0/le.patch')
-rw-r--r--packages/ixp4xx/ixp4xx-csr-2.0/le.patch25
1 files changed, 16 insertions, 9 deletions
diff --git a/packages/ixp4xx/ixp4xx-csr-2.0/le.patch b/packages/ixp4xx/ixp4xx-csr-2.0/le.patch
index 5a36f38bd6..e32b795755 100644
--- a/packages/ixp4xx/ixp4xx-csr-2.0/le.patch
+++ b/packages/ixp4xx/ixp4xx-csr-2.0/le.patch
@@ -1,17 +1,24 @@
-diff -bBdurN hannes/ixp400_xscale_sw/src/include/IxQMgr.h merged/ixp400_xscale_sw/src/include/IxQMgr.h
---- ixp400_xscale_sw/src/include/IxQMgr.h 2005-04-17 20:55:31.000000000 -0700
-+++ ixp400_xscale_sw/src/include/IxQMgr.h 2005-10-07 15:08:42.723183066 -0700
-@@ -96,8 +96,13 @@
+--- ixp400_xscale_sw/.pc/le.patch/src/include/IxQMgr.h 2005-04-17 20:55:31.000000000 -0700
++++ ixp400_xscale_sw/src/include/IxQMgr.h 2005-11-19 16:01:52.817556623 -0800
+@@ -87,7 +87,9 @@
+ /*
+ * Define QMgr's IoMem macros, in DC mode if in LE
+ * regular if in BE. (Note: For Linux LSP gold release
+- * may need to adjust mode.
++ * may need to adjust mode. For standard Linux kernels
++ * data coherent access is not used, therefore address
++ * coherency must be set.
+ */
+ #if defined (__BIG_ENDIAN)
+
+@@ -96,8 +98,8 @@
#else
-+#ifndef __ARMEB__
+-#define IX_QMGR_INLINE_READ_LONG IX_OSAL_READ_LONG_LE_DC
+-#define IX_QMGR_INLINE_WRITE_LONG IX_OSAL_WRITE_LONG_LE_DC
+#define IX_QMGR_INLINE_READ_LONG IX_OSAL_READ_LONG_LE_AC
+#define IX_QMGR_INLINE_WRITE_LONG IX_OSAL_WRITE_LONG_LE_AC
-+#else /* __ARMEB__ */
- #define IX_QMGR_INLINE_READ_LONG IX_OSAL_READ_LONG_LE_DC
- #define IX_QMGR_INLINE_WRITE_LONG IX_OSAL_WRITE_LONG_LE_DC
-+#endif /* __ARMEB__ */
#endif