diff options
Diffstat (limited to 'packages/linux/linux-2.6.18')
93 files changed, 0 insertions, 47639 deletions
diff --git a/packages/linux/linux-2.6.18/.mtn2git_empty b/packages/linux/linux-2.6.18/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/linux/linux-2.6.18/.mtn2git_empty +++ /dev/null diff --git a/packages/linux/linux-2.6.18/0001-AVR32-Fix-compile-error-with-gcc-4.1.patch b/packages/linux/linux-2.6.18/0001-AVR32-Fix-compile-error-with-gcc-4.1.patch deleted file mode 100755 index 2b430450d9..0000000000 --- a/packages/linux/linux-2.6.18/0001-AVR32-Fix-compile-error-with-gcc-4.1.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 8224ca195874525533665bbcd23b6da1e575aa4d Mon Sep 17 00:00:00 2001 -From: Haavard Skinnemoen <hskinnemoen@atmel.com> -Date: Fri, 27 Apr 2007 14:21:47 +0200 -Subject: [AVR32] Fix compile error with gcc 4.1 - -gcc 4.1 doesn't seem to like const variables as inline assembly -outputs. Drop support for reading 64-bit values using get_user() so -that we can use an unsigned long to hold the result regardless of the -actual size. This should be safe since many architectures, including -i386, doesn't support reading 64-bit values with get_user(). - -Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> ---- - include/asm-avr32/uaccess.h | 13 ++++--------- - 1 files changed, 4 insertions(+), 9 deletions(-) - -diff --git a/include/asm-avr32/uaccess.h b/include/asm-avr32/uaccess.h -index 74a679e..ed09239 100644 ---- a/include/asm-avr32/uaccess.h -+++ b/include/asm-avr32/uaccess.h -@@ -181,24 +181,23 @@ extern int __put_user_bad(void); - - #define __get_user_nocheck(x, ptr, size) \ - ({ \ -- typeof(*(ptr)) __gu_val = (typeof(*(ptr)) __force)0; \ -+ unsigned long __gu_val = 0; \ - int __gu_err = 0; \ - \ - switch (size) { \ - case 1: __get_user_asm("ub", __gu_val, ptr, __gu_err); break; \ - case 2: __get_user_asm("uh", __gu_val, ptr, __gu_err); break; \ - case 4: __get_user_asm("w", __gu_val, ptr, __gu_err); break; \ -- case 8: __get_user_asm("d", __gu_val, ptr, __gu_err); break; \ - default: __gu_err = __get_user_bad(); break; \ - } \ - \ -- x = __gu_val; \ -+ x = (typeof(*(ptr)))__gu_val; \ - __gu_err; \ - }) - - #define __get_user_check(x, ptr, size) \ - ({ \ -- typeof(*(ptr)) __gu_val = (typeof(*(ptr)) __force)0; \ -+ unsigned long __gu_val = 0; \ - const typeof(*(ptr)) __user * __gu_addr = (ptr); \ - int __gu_err = 0; \ - \ -@@ -216,10 +215,6 @@ extern int __put_user_bad(void); - __get_user_asm("w", __gu_val, __gu_addr, \ - __gu_err); \ - break; \ -- case 8: \ -- __get_user_asm("d", __gu_val, __gu_addr, \ -- __gu_err); \ -- break; \ - default: \ - __gu_err = __get_user_bad(); \ - break; \ -@@ -227,7 +222,7 @@ extern int __put_user_bad(void); - } else { \ - __gu_err = -EFAULT; \ - } \ -- x = __gu_val; \ -+ x = (typeof(*(ptr)))__gu_val; \ - __gu_err; \ - }) - --- -1.4.4.4 - diff --git a/packages/linux/linux-2.6.18/add-all-parameters-to-smc-driver.patch b/packages/linux/linux-2.6.18/add-all-parameters-to-smc-driver.patch deleted file mode 100644 index ec4de30cc8..0000000000 --- a/packages/linux/linux-2.6.18/add-all-parameters-to-smc-driver.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- linux-2.6.18-orig/arch/avr32/mach-at32ap/hsmc.c 2006-09-26 15:01:28.000000000 +0200 -+++ linux-2.6.18/arch/avr32/mach-at32ap/hsmc.c 2006-10-18 14:03:35.000000000 +0200 -@@ -75,12 +75,35 @@ int smc_set_configuration(int cs, const - return -EINVAL; - } - -+ switch (config->nwait_mode) { -+ case 0: -+ mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_DISABLED); -+ break; -+ case 1: -+ mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_RESERVED); -+ break; -+ case 2: -+ mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_FROZEN); -+ break; -+ case 3: -+ mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_READY); -+ break; -+ default: -+ return -EINVAL; -+ } -+ -+ if (config->tdf_cycles) { -+ mode |= HSMC_BF(TDF_CYCLES, config->tdf_cycles); -+ } -+ - if (config->nrd_controlled) - mode |= HSMC_BIT(READ_MODE); - if (config->nwe_controlled) - mode |= HSMC_BIT(WRITE_MODE); - if (config->byte_write) - mode |= HSMC_BIT(BAT); -+ if (config->tdf_mode) -+ mode |= HSMC_BIT(TDF_MODE); - - pr_debug("smc cs%d: setup/%08x pulse/%08x cycle/%08x mode/%08x\n", - cs, setup, pulse, cycle, mode); ---- linux-2.6.18-orig/include/asm-avr32/arch-at32ap/smc.h 2006-09-26 15:01:30.000000000 +0200 -+++ linux-2.6.18/include/asm-avr32/arch-at32ap/smc.h 2006-10-18 13:36:06.000000000 +0200 -@@ -48,10 +48,32 @@ struct smc_config { - unsigned int nwe_controlled:1; - - /* -+ * 0: NWAIT is disabled -+ * 1: Reserved -+ * 2: NWAIT is frozen mode -+ * 3: NWAIT in ready mode -+ */ -+ unsigned int nwait_mode:2; -+ -+ /* - * 0: Byte select access type - * 1: Byte write access type - */ - unsigned int byte_write:1; -+ -+ /* -+ * Number of clock cycles before data is released after -+ * the rising edge of the read controlling signal -+ * -+ * Total cycles from SMC is tdf_cycles + 1 -+ */ -+ unsigned int tdf_cycles:4; -+ -+ /* -+ * 0: TDF optimization disabled -+ * 1: TDF optimization enabled -+ */ -+ unsigned int tdf_mode:1; - }; - - extern int smc_set_configuration(int cs, const struct smc_config *config); diff --git a/packages/linux/linux-2.6.18/add-default-atngw-defconfig.patch b/packages/linux/linux-2.6.18/add-default-atngw-defconfig.patch deleted file mode 100644 index 233416e0ca..0000000000 --- a/packages/linux/linux-2.6.18/add-default-atngw-defconfig.patch +++ /dev/null @@ -1,975 +0,0 @@ -Index: linux-2.6.18/arch/avr32/configs/atngw_defconfig -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.18/arch/avr32/configs/atngw_defconfig 2007-01-10 10:15:54.000000000 +0100 -@@ -0,0 +1,970 @@ -+# -+# Automatically generated make config: don't edit -+# Linux kernel version: 2.6.18-at0 -+# Wed Jan 10 10:13:31 2007 -+# -+CONFIG_AVR32=y -+CONFIG_GENERIC_HARDIRQS=y -+CONFIG_HARDIRQS_SW_RESEND=y -+CONFIG_GENERIC_IRQ_PROBE=y -+CONFIG_RWSEM_GENERIC_SPINLOCK=y -+CONFIG_GENERIC_TIME=y -+CONFIG_GENERIC_HWEIGHT=y -+CONFIG_GENERIC_CALIBRATE_DELAY=y -+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" -+ -+# -+# Code maturity level options -+# -+CONFIG_EXPERIMENTAL=y -+CONFIG_BROKEN_ON_SMP=y -+CONFIG_INIT_ENV_ARG_LIMIT=32 -+ -+# -+# General setup -+# -+CONFIG_LOCALVERSION="" -+# CONFIG_LOCALVERSION_AUTO is not set -+CONFIG_SWAP=y -+CONFIG_SYSVIPC=y -+CONFIG_POSIX_MQUEUE=y -+CONFIG_BSD_PROCESS_ACCT=y -+CONFIG_BSD_PROCESS_ACCT_V3=y -+# CONFIG_TASKSTATS is not set -+# CONFIG_AUDIT is not set -+# CONFIG_IKCONFIG is not set -+# CONFIG_RELAY is not set -+CONFIG_INITRAMFS_SOURCE="" -+CONFIG_CC_OPTIMIZE_FOR_SIZE=y -+CONFIG_EMBEDDED=y -+CONFIG_SYSCTL=y -+CONFIG_KALLSYMS=y -+# CONFIG_KALLSYMS_ALL is not set -+# CONFIG_KALLSYMS_EXTRA_PASS is not set -+CONFIG_HOTPLUG=y -+CONFIG_PRINTK=y -+CONFIG_BUG=y -+CONFIG_ELF_CORE=y -+# CONFIG_BASE_FULL is not set -+CONFIG_FUTEX=y -+CONFIG_EPOLL=y -+CONFIG_SHMEM=y -+CONFIG_SLAB=y -+CONFIG_VM_EVENT_COUNTERS=y -+CONFIG_RT_MUTEXES=y -+# CONFIG_TINY_SHMEM is not set -+CONFIG_BASE_SMALL=1 -+# CONFIG_SLOB is not set -+ -+# -+# Loadable module support -+# -+CONFIG_MODULES=y -+CONFIG_MODULE_UNLOAD=y -+CONFIG_MODULE_FORCE_UNLOAD=y -+# CONFIG_MODVERSIONS is not set -+# CONFIG_MODULE_SRCVERSION_ALL is not set -+CONFIG_KMOD=y -+ -+# -+# Block layer -+# -+# CONFIG_BLK_DEV_IO_TRACE is not set -+ -+# -+# IO Schedulers -+# -+CONFIG_IOSCHED_NOOP=y -+# CONFIG_IOSCHED_AS is not set -+# CONFIG_IOSCHED_DEADLINE is not set -+CONFIG_IOSCHED_CFQ=y -+# CONFIG_DEFAULT_AS is not set -+# CONFIG_DEFAULT_DEADLINE is not set -+CONFIG_DEFAULT_CFQ=y -+# CONFIG_DEFA |
