summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch')
-rw-r--r--packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch30
1 files changed, 11 insertions, 19 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch b/packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch
index e9127dbbb4..e66f8692ca 100644
--- a/packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch
+++ b/packages/linux/ixp4xx-kernel/2.6.16/97-ds101-includes.patch
@@ -1,16 +1,12 @@
- include/asm-arm/arch-ixp4xx/ds101.h | 70 +++++++++++++++++++++++++++++++++
+ include/asm-arm/arch-ixp4xx/ds101.h | 87 +++++++++++++++++++++++++++++++++
include/asm-arm/arch-ixp4xx/hardware.h | 1
- include/asm-arm/arch-ixp4xx/irqs.h | 7 +++
- 3 files changed, 78 insertions(+)
+ include/asm-arm/arch-ixp4xx/irqs.h | 7 ++
+ 3 files changed, 95 insertions(+)
-Index: linux-2.6.15/include/asm-arm/arch-ixp4xx/ds101.h
-===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.15/include/asm-arm/arch-ixp4xx/ds101.h 2006-02-15 22:35:31.000000000 +0100
-@@ -0,0 +1,89 @@
++++ linux-ixp4xx/include/asm-arm/arch-ixp4xx/ds101.h 2006-02-21 02:00:21.000000000 +0100
+@@ -0,0 +1,87 @@
+/*
-+ * include/asm-arm/arch-ixp4xx/ds101.h
-+ *
+ * DS101 platform specific definitions
+ *
+ * Author: Øyvind Repvik <nail@nslu2-linux.org>
@@ -80,7 +76,7 @@ Index: linux-2.6.15/include/asm-arm/arch-ixp4xx/ds101.h
+/* Stuff needed to setup the IXP expansion
+ * bus on the DS101
+ */
-+
++
+#define DS101_EXP_RECOVERY_T(x) (((x) & 15) << 16)
+#define DS101_EXP_HOLD_T(x) (((x) & 3) << 20)
+#define DS101_EXP_STROBE_T(x) (((x) & 15) << 22)
@@ -97,21 +93,17 @@ Index: linux-2.6.15/include/asm-arm/arch-ixp4xx/ds101.h
+ DS101_EXP_HOLD_T(1) | DS101_EXP_RECOVERY_T(1)| \
+ DS101_EXP_SZ_16M | DS101_EXP_WR_EN | \
+ DS101_EXP_BYTE_RD16 | DS101_EXP_CS_EN)
-Index: linux-2.6.15/include/asm-arm/arch-ixp4xx/hardware.h
-===================================================================
---- linux-2.6.15.orig/include/asm-arm/arch-ixp4xx/hardware.h 2006-02-13 21:23:22.000000000 +0100
-+++ linux-2.6.15/include/asm-arm/arch-ixp4xx/hardware.h 2006-02-13 21:23:26.000000000 +0100
-@@ -46,5 +46,6 @@
+--- linux-ixp4xx.orig/include/asm-arm/arch-ixp4xx/hardware.h 2006-02-21 01:57:32.000000000 +0100
++++ linux-ixp4xx/include/asm-arm/arch-ixp4xx/hardware.h 2006-02-21 02:00:21.000000000 +0100
+@@ -46,5 +46,6 @@ extern unsigned int processor_id;
#include "prpmc1100.h"
#include "nslu2.h"
#include "nas100d.h"
+#include "ds101.h"
#endif /* _ASM_ARCH_HARDWARE_H */
-Index: linux-2.6.15/include/asm-arm/arch-ixp4xx/irqs.h
-===================================================================
---- linux-2.6.15.orig/include/asm-arm/arch-ixp4xx/irqs.h 2006-02-13 21:23:22.000000000 +0100
-+++ linux-2.6.15/include/asm-arm/arch-ixp4xx/irqs.h 2006-02-13 21:23:26.000000000 +0100
+--- linux-ixp4xx.orig/include/asm-arm/arch-ixp4xx/irqs.h 2006-02-21 01:57:32.000000000 +0100
++++ linux-ixp4xx/include/asm-arm/arch-ixp4xx/irqs.h 2006-02-21 02:00:21.000000000 +0100
@@ -108,5 +108,12 @@
#define IRQ_NAS100D_PCI_INTC IRQ_IXP4XX_GPIO9
#define IRQ_NAS100D_PCI_INTD IRQ_IXP4XX_GPIO8