summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp-osal-2.1
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-02-11 12:21:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-11 12:21:46 +0000
commitada160dc6fb45bb99f851d241f060e369fa9b3a3 (patch)
tree940a66026b171ee17f293d930a30662ea81feab4 /packages/ixp4xx/ixp-osal-2.1
parentfa3539b899bac502ce29f0cb073dbfd50f8a505f (diff)
disapproval of revision '20f5c236b9ebdf5e2fc0e5acea55f39e77588bb8'
Diffstat (limited to 'packages/ixp4xx/ixp-osal-2.1')
-rw-r--r--packages/ixp4xx/ixp-osal-2.1/ixp4xx-header.patch10
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/ixp4xx/ixp-osal-2.1/ixp4xx-header.patch b/packages/ixp4xx/ixp-osal-2.1/ixp4xx-header.patch
index a9d87d4b56..70eec5e728 100644
--- a/packages/ixp4xx/ixp-osal-2.1/ixp4xx-header.patch
+++ b/packages/ixp4xx/ixp-osal-2.1/ixp4xx-header.patch
@@ -32,14 +32,13 @@
"qMgr" /* name */
--- ixp_osal/os/linux/include/platforms/ixp400/ixp425/IxOsalOsIxp425Base.h 1970-01-01 00:00:00.000000000 +0000
+++ ixp_osal/os/linux/include/platforms/ixp400/ixp425/IxOsalOsIxp425Base.h 1970-01-01 00:00:00.000000000 +0000
-@@ -0,0 +1,80 @@
+@@ -0,0 +1,72 @@
+/*
+ * Glue for the current linux definitons of this stuff.
+ */
+#ifndef IxOsalOsIxp425Base_H
+#define IxOsalOsIxp425Base_H 1
+#include <asm-arm/arch-ixp4xx/ixp4xx-regs.h>
-+#include <linux/version.h>
+
+/* Force Address Coherent (the default) mapping on LE - Linux 2.6
+ * does not have a way of changing it.
@@ -65,14 +64,7 @@
+#define IXP425_PCI_CFG_BASE_PHYS IXP4XX_PCI_CFG_BASE_PHYS
+
+//#define IXP425_EXP_BUS_BASE1_PHYS
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
+#define IXP425_EXP_BUS_BASE2_PHYS IXP4XX_EXP_BUS_CS2_BASE_PHYS
-+#else
-+/* The following definition should be IXP4XX_EXP_BUS_BASE(2), but that is not
-+ static and causes compilation problems later. So we need to hard-code it.
-+ Note that this hard-coded value is only correct for IXP42X. */
-+#define IXP425_EXP_BUS_BASE2_PHYS (IXP4XX_EXP_BUS_BASE_PHYS + (2 * SZ_16M))
-+#endif
+//#define IXP425_EXP_BUS_CS0_BASE_PHYS
+//#define IXP425_EXP_BUS_CS1_BASE_PHYS
+//#define IXP425_EXP_BUS_CS4_BASE_PHYS