Change Details
target/linux/generic/patches-2.6.37/020-ssb_update.patch | ||
---|---|---|
197 | 197 | /* TODO - get remaining rev 8 stuff needed */ |
198 | 198 | } |
199 | 199 | |
200 | @@ -573,37 +621,34 @@ static int sprom_extract(struct ssb_bus | |
200 | @@ -573,37 +621,34 @@ static int sprom_extract(struct ssb_bus | |
201 | 201 | ssb_dprintk(KERN_DEBUG PFX "SPROM revision %d detected.\n", out->revision); |
202 | 202 | memset(out->et0mac, 0xFF, 6); /* preset et0 and et1 mac */ |
203 | 203 | memset(out->et1mac, 0xFF, 6); |
target/linux/generic/patches-2.6.37/021-ssb_commit_settings_export.patch | ||
---|---|---|
67 | 67 | u32 base = 0; |
68 | 68 | --- a/include/linux/ssb/ssb.h |
69 | 69 | +++ b/include/linux/ssb/ssb.h |
70 | @@ -518,6 +518,7 @@ extern int ssb_bus_may_powerdown(struct | |
70 | @@ -518,6 +518,7 @@ extern int ssb_bus_may_powerdown(struct | |
71 | 71 | * Otherwise static always-on powercontrol will be used. */ |
72 | 72 | extern int ssb_bus_powerup(struct ssb_bus *bus, bool dynamic_pctl); |
73 | 73 |
target/linux/generic/patches-2.6.37/030-mips_multi_machine_support.patch | ||
---|---|---|
176 | 176 | |
177 | 177 | unsigned int vced_count, vcei_count; |
178 | 178 | |
179 | @@ -31,8 +32,12 @@ static int show_cpuinfo(struct seq_file | |
179 | @@ -31,8 +32,12 @@ static int show_cpuinfo(struct seq_file | |
180 | 180 | /* |
181 | 181 | * For the first processor also print the system type |
182 | 182 | */ |
target/linux/generic/patches-2.6.37/110_fix_ecn_marking_ipv6.patch | ||
---|---|---|
1 | 1 | --- a/include/net/inet_ecn.h |
2 | 2 | +++ b/include/net/inet_ecn.h |
3 | @@ -38,9 +38,19 @@ static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) | |
3 | @@ -38,9 +38,19 @@ static inline __u8 INET_ECN_encapsulate( | |
4 | 4 | return outer; |
5 | 5 | } |
6 | 6 |
target/linux/generic/patches-2.6.37/230-openwrt_lzma_options.patch | ||
---|---|---|
1 | 1 | --- a/scripts/Makefile.lib |
2 | 2 | +++ b/scripts/Makefile.lib |
3 | @@ -231,7 +231,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^) | |
3 | @@ -231,7 +231,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^) | |
4 | 4 | |
5 | 5 | quiet_cmd_lzma = LZMA $@ |
6 | 6 | cmd_lzma = (cat $(filter-out FORCE,$^) | \ |
target/linux/generic/patches-2.6.37/306-mips_mem_functions_performance.patch | ||
---|---|---|
1 | 1 | --- a/arch/mips/include/asm/string.h |
2 | 2 | +++ b/arch/mips/include/asm/string.h |
3 | @@ -133,11 +133,44 @@ strncmp(__const__ char *__cs, __const__ | |
3 | @@ -133,11 +133,44 @@ strncmp(__const__ char *__cs, __const__ | |
4 | 4 | |
5 | 5 | #define __HAVE_ARCH_MEMSET |
6 | 6 | extern void *memset(void *__s, int __c, size_t __count); |
target/linux/generic/patches-2.6.37/311-arm_update_mach_types.patch | ||
---|---|---|
63 | 63 | htc_excalibur_s620 MACH_HTC_EXCALIBUR_S620 HTC_EXCALIBUR_S620 2391 |
64 | 64 | htc_opal MACH_HTC_OPAL HTC_OPAL 2392 |
65 | 65 | touchbook MACH_TOUCHBOOK TOUCHBOOK 2393 |
66 | @@ -2446,7 +2446,7 @@ siogentoo1 MACH_SIOGENTOO1 SIOGENTOO1 | |
66 | @@ -2446,7 +2446,7 @@ siogentoo1 MACH_SIOGENTOO1 SIOGENTOO1 | |
67 | 67 | siogentoo2 MACH_SIOGENTOO2 SIOGENTOO2 2459 |
68 | 68 | sm3k MACH_SM3K SM3K 2460 |
69 | 69 | acer_tempo_f900 MACH_ACER_TEMPO_F900 ACER_TEMPO_F900 2461 |
target/linux/generic/patches-2.6.37/400-rootfs_split.patch | ||
---|---|---|
193 | 193 | /* |
194 | 194 | * This function, given a master MTD object and a partition table, creates |
195 | 195 | * and registers slave MTD objects which are bound to the master according to |
196 | @@ -633,7 +782,7 @@ int add_mtd_partitions(struct mtd_info * | |
196 | @@ -633,7 +784,7 @@ int add_mtd_partitions(struct mtd_info * | |
197 | 197 | { |
198 | 198 | struct mtd_part *slave; |
199 | 199 | uint64_t cur_offset = 0; |
... | ... | |
202 | 202 | |
203 | 203 | printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); |
204 | 204 | |
205 | @@ -648,6 +797,21 @@ int add_mtd_partitions(struct mtd_info * | |
205 | @@ -648,6 +799,21 @@ int add_mtd_partitions(struct mtd_info * | |
206 | 206 | |
207 | 207 | add_mtd_device(&slave->mtd); |
208 | 208 | |
... | ... | |
224 | 224 | cur_offset = slave->offset + slave->mtd.size; |
225 | 225 | } |
226 | 226 | |
227 | @@ -655,6 +819,32 @@ int add_mtd_partitions(struct mtd_info * | |
227 | @@ -655,6 +821,32 @@ int add_mtd_partitions(struct mtd_info * | |
228 | 228 | } |
229 | 229 | EXPORT_SYMBOL(add_mtd_partitions); |
230 | 230 | |
... | ... | |
259 | 259 | |
260 | 260 | --- a/drivers/mtd/mtdchar.c |
261 | 261 | +++ b/drivers/mtd/mtdchar.c |
262 | @@ -841,6 +841,13 @@ static int mtd_ioctl(struct file *file, | |
262 | @@ -841,6 +841,13 @@ static int mtd_ioctl(struct file *file, | |
263 | 263 | file->f_pos = 0; |
264 | 264 | break; |
265 | 265 | } |
target/linux/generic/patches-2.6.37/460-cfi_show_amd_extended_table_version.patch | ||
---|---|---|
1 | 1 | --- a/drivers/mtd/chips/cfi_cmdset_0002.c |
2 | 2 | +++ b/drivers/mtd/chips/cfi_cmdset_0002.c |
3 | @@ -446,9 +446,9 @@ struct mtd_info *cfi_cmdset_0002(struct | |
3 | @@ -446,9 +446,9 @@ struct mtd_info *cfi_cmdset_0002(struct | |
4 | 4 | |
5 | 5 | /* |
6 | 6 | * Valid primary extension versions are: 1.0, 1.1, 1.2, 1.3, 1.4 |
target/linux/generic/patches-2.6.37/473-mtd_samsung_flash.patch | ||
---|---|---|
1 | 1 | --- a/drivers/mtd/chips/cfi_cmdset_0002.c |
2 | 2 | +++ b/drivers/mtd/chips/cfi_cmdset_0002.c |
3 | @@ -392,9 +392,35 @@ static struct cfi_fixup fixup_table[] = | |
3 | @@ -392,9 +392,35 @@ static struct cfi_fixup fixup_table[] = | |
4 | 4 | static void cfi_fixup_major_minor(struct cfi_private *cfi, |
5 | 5 | struct cfi_pri_amdstd *extp) |
6 | 6 | { |
target/linux/generic/patches-2.6.37/501-yaffs_cvs_2009_04_24.patch | ||
---|---|---|
601 | 601 | dev->checkpointBlockList[i] = -1; |
602 | 602 | } |
603 | 603 | |
604 | @@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device | |
604 | @@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device | |
605 | 605 | |
606 | 606 | static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev) |
607 | 607 | { |
... | ... | |
926 | 926 | { |
927 | 927 | unsigned char cDelta; /* column parity delta */ |
928 | 928 | unsigned lDelta; /* line parity delta */ |
929 | @@ -294,8 +292,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
929 | @@ -294,8 +292,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
930 | 930 | return 0; /* no error */ |
931 | 931 | |
932 | 932 | if (lDelta == ~lDeltaPrime && |
... | ... | |
936 | 936 | /* Single bit (recoverable) error in data */ |
937 | 937 | |
938 | 938 | bit = 0; |
939 | @@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
939 | @@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
940 | 940 | if (cDelta & 0x02) |
941 | 941 | bit |= 0x01; |
942 | 942 | |
... | ... | |
945 | 945 | return -1; |
946 | 946 | |
947 | 947 | data[lDelta] ^= (1 << bit); |
948 | @@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
948 | @@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
949 | 949 | } |
950 | 950 | |
951 | 951 | if ((yaffs_CountBits32(lDelta) + yaffs_CountBits32(lDeltaPrime) + |
... | ... | |
954 | 954 | /* Reccoverable error in ecc */ |
955 | 955 | |
956 | 956 | *read_ecc = *test_ecc; |
957 | @@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char | |
957 | @@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char | |
958 | 958 | /* Unrecoverable error */ |
959 | 959 | |
960 | 960 | return -1; |
... | ... | |
1398 | 1398 | { |
1399 | 1399 | unsigned char *alias; |
1400 | 1400 | int ret; |
1401 | @@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry | |
1401 | @@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry | |
1402 | 1402 | return ret; |
1403 | 1403 | } |
1404 | 1404 | |
... | ... | |
1560 | 1560 | static int yaffs_file_flush(struct file *file, fl_owner_t id) |
1561 | 1561 | #else |
1562 | 1562 | static int yaffs_file_flush(struct file *file) |
1563 | @@ -513,8 +579,8 @@ static int yaffs_file_flush(struct file | |
1563 | @@ -513,8 +579,8 @@ static int yaffs_file_flush(struct file | |
1564 | 1564 | yaffs_Device *dev = obj->myDev; |
1565 | 1565 | |
1566 | 1566 | T(YAFFS_TRACE_OS, |
... | ... | |
1571 | 1571 | |
1572 | 1572 | yaffs_GrossLock(dev); |
1573 | 1573 | |
1574 | @@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct | |
1574 | @@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct | |
1575 | 1575 | |
1576 | 1576 | yaffs_Device *dev; |
1577 | 1577 | |
... | ... | |
1591 | 1591 | BUG_ON(!PageLocked(pg)); |
1592 | 1592 | #else |
1593 | 1593 | if (!PageLocked(pg)) |
1594 | @@ -555,9 +621,9 @@ static int yaffs_readpage_nolock(struct | |
1594 | @@ -555,9 +621,9 @@ static int yaffs_readpage_nolock(struct | |
1595 | 1595 | |
1596 | 1596 | yaffs_GrossLock(dev); |
1597 | 1597 | |
... | ... | |
1604 | 1604 | |
1605 | 1605 | yaffs_GrossUnlock(dev); |
1606 | 1606 | |
1607 | @@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct | |
1607 | @@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct | |
1608 | 1608 | flush_dcache_page(pg); |
1609 | 1609 | kunmap(pg); |
1610 | 1610 | |
... | ... | |
3193 | 3193 | if (n < step) { |
3194 | 3194 | n++; |
3195 | 3195 | continue; |
3196 | @@ -2119,7 +2356,7 @@ static int yaffs_proc_write(struct file | |
3196 | @@ -2119,7 +2356,7 @@ static int yaffs_proc_write(struct file | |
3197 | 3197 | char *end; |
3198 | 3198 | char *mask_name; |
3199 | 3199 | const char *x; |
... | ... | |
3202 | 3202 | int i; |
3203 | 3203 | int done = 0; |
3204 | 3204 | int add, len = 0; |
3205 | @@ -2129,9 +2366,8 @@ static int yaffs_proc_write(struct file | |
3205 | @@ -2129,9 +2366,8 @@ static int yaffs_proc_write(struct file | |
3206 | 3206 | |
3207 | 3207 | while (!done && (pos < count)) { |
3208 | 3208 | done = 1; |
... | ... | |
3213 | 3213 | |
3214 | 3214 | switch (buf[pos]) { |
3215 | 3215 | case '+': |
3216 | @@ -2148,20 +2384,21 @@ static int yaffs_proc_write(struct file | |
3216 | @@ -2148,20 +2384,21 @@ static int yaffs_proc_write(struct file | |
3217 | 3217 | mask_name = NULL; |
3218 | 3218 | |
3219 | 3219 | mask_bitfield = simple_strtoul(buf + pos, &end, 0); |
... | ... | |
3240 | 3240 | mask_name = mask_flags[i].mask_name; |
3241 | 3241 | mask_bitfield = mask_flags[i].mask_bitfield; |
3242 | 3242 | done = 0; |
3243 | @@ -2172,7 +2409,7 @@ static int yaffs_proc_write(struct file | |
3243 | @@ -2172,7 +2409,7 @@ static int yaffs_proc_write(struct file | |
3244 | 3244 | |
3245 | 3245 | if (mask_name != NULL) { |
3246 | 3246 | done = 0; |
... | ... | |
3249 | 3249 | case '-': |
3250 | 3250 | rg &= ~mask_bitfield; |
3251 | 3251 | break; |
3252 | @@ -2191,13 +2428,13 @@ static int yaffs_proc_write(struct file | |
3252 | @@ -2191,13 +2428,13 @@ static int yaffs_proc_write(struct file | |
3253 | 3253 | |
3254 | 3254 | yaffs_traceMask = rg | YAFFS_TRACE_ALWAYS; |
3255 | 3255 | |
... | ... | |
5691 | 5691 | { |
5692 | 5692 | /* Get the real object in case we were fed a hard link as an equivalent object */ |
5693 | 5693 | equivalentObject = yaffs_GetEquivalentObject(equivalentObject); |
5694 | @@ -2363,33 +2396,31 @@ yaffs_Object *yaffs_Link(yaffs_Object * | |
5694 | @@ -2363,33 +2396,31 @@ yaffs_Object *yaffs_Link(yaffs_Object * | |
5695 | 5695 | |
5696 | 5696 | } |
5697 | 5697 | |
... | ... | |
7622 | 7622 | int nToCopy; |
7623 | 7623 | int n = nBytes; |
7624 | 7624 | int nDone = 0; |
7625 | @@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7625 | @@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7626 | 7626 | dev = in->myDev; |
7627 | 7627 | |
7628 | 7628 | while (n > 0) { |
... | ... | |
7657 | 7657 | if (dev->nShortOpCaches > 0) { |
7658 | 7658 | |
7659 | 7659 | /* If we can't find the data in the cache, then load it up. */ |
7660 | @@ -4641,14 +4705,9 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7660 | @@ -4641,14 +4705,9 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7661 | 7661 | |
7662 | 7662 | cache->locked = 1; |
7663 | 7663 | |
... | ... | |
7673 | 7673 | cache->locked = 0; |
7674 | 7674 | } else { |
7675 | 7675 | /* Read into the local buffer then copy..*/ |
7676 | @@ -4657,41 +4716,19 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7676 | @@ -4657,41 +4716,19 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7677 | 7677 | yaffs_GetTempBuffer(dev, __LINE__); |
7678 | 7678 | yaffs_ReadChunkDataFromObject(in, chunk, |
7679 | 7679 | localBuffer); |
... | ... | |
7718 | 7718 | } |
7719 | 7719 | |
7720 | 7720 | n -= nToCopy; |
7721 | @@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7721 | @@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object | |
7722 | 7722 | return nDone; |
7723 | 7723 | } |
7724 | 7724 | |
... | ... | |
7923 | 7923 | int newFullChunks; |
7924 | 7924 | |
7925 | 7925 | yaffs_Device *dev = in->myDev; |
7926 | @@ -4955,13 +4981,11 @@ int yaffs_ResizeFile(yaffs_Object * in, | |
7926 | @@ -4955,13 +4981,11 @@ int yaffs_ResizeFile(yaffs_Object * in, | |
7927 | 7927 | |
7928 | 7928 | yaffs_CheckGarbageCollection(dev); |
7929 | 7929 | |
... | ... | |
7941 | 7941 | |
7942 | 7942 | if (newSize < oldFileSize) { |
7943 | 7943 | |
7944 | @@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in, | |
7944 | @@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in, | |
7945 | 7945 | } |
7946 | 7946 | |
7947 | 7947 | |
... | ... | |
7968 | 7968 | { |
7969 | 7969 | obj = yaffs_GetEquivalentObject(obj); |
7970 | 7970 | |
7971 | @@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object * | |
7971 | @@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object * | |
7972 | 7972 | |
7973 | 7973 | |
7974 | 7974 | |
... | ... | |
9789 | 9789 | { |
9790 | 9790 | int init_failed = 0; |
9791 | 9791 | unsigned x; |
9792 | @@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9792 | @@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9793 | 9793 | dev->chunkOffset = 0; |
9794 | 9794 | dev->nFreeChunks = 0; |
9795 | 9795 | |
... | ... | |
9798 | 9798 | if (dev->startBlock == 0) { |
9799 | 9799 | dev->internalStartBlock = dev->startBlock + 1; |
9800 | 9800 | dev->internalEndBlock = dev->endBlock + 1; |
9801 | @@ -7049,18 +7137,18 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9801 | @@ -7049,18 +7137,18 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9802 | 9802 | |
9803 | 9803 | /* Check geometry parameters. */ |
9804 | 9804 | |
... | ... | |
9823 | 9823 | return YAFFS_FAIL; |
9824 | 9824 | } |
9825 | 9825 | |
9826 | @@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9826 | @@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9827 | 9827 | return YAFFS_FAIL; |
9828 | 9828 | } |
9829 | 9829 | |
... | ... | |
9836 | 9836 | /* Got the right mix of functions? */ |
9837 | 9837 | if (!yaffs_CheckDevFunctions(dev)) { |
9838 | 9838 | /* Function missing */ |
9839 | @@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9839 | @@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9840 | 9840 | |
9841 | 9841 | dev->isMounted = 1; |
9842 | 9842 | |
... | ... | |
9875 | 9875 | |
9876 | 9876 | /* |
9877 | 9877 | * Calculate chunkGroupBits. |
9878 | @@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9878 | @@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9879 | 9879 | bits = ShiftsGE(x); |
9880 | 9880 | |
9881 | 9881 | /* Set up tnode width if wide tnodes are enabled. */ |
... | ... | |
9896 | 9896 | dev->tnodeWidth = 16; |
9897 | 9897 | |
9898 | 9898 | dev->tnodeMask = (1<<dev->tnodeWidth)-1; |
9899 | @@ -7193,7 +7273,7 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9899 | @@ -7193,7 +7273,7 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9900 | 9900 | dev->hasPendingPrioritisedGCs = 1; /* Assume the worst for now, will get fixed on first GC */ |
9901 | 9901 | |
9902 | 9902 | /* Initialise temporary buffers and caches. */ |
... | ... | |
9905 | 9905 | init_failed = 1; |
9906 | 9906 | |
9907 | 9907 | dev->srCache = NULL; |
9908 | @@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9908 | @@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9909 | 9909 | if (!init_failed && |
9910 | 9910 | dev->nShortOpCaches > 0) { |
9911 | 9911 | int i; |
... | ... | |
9940 | 9940 | init_failed = 1; |
9941 | 9941 | |
9942 | 9942 | dev->srLastUse = 0; |
9943 | @@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9943 | @@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9944 | 9944 | |
9945 | 9945 | dev->cacheHits = 0; |
9946 | 9946 | |
... | ... | |
9979 | 9979 | T(YAFFS_TRACE_ALWAYS, |
9980 | 9980 | (TSTR("yaffs: restored from checkpoint" TENDSTR))); |
9981 | 9981 | } else { |
9982 | @@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9982 | @@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device * | |
9983 | 9983 | dev->nBackgroundDeletions = 0; |
9984 | 9984 | dev->oldestDirtySequence = 0; |
9985 | 9985 | |
... | ... | |
10011 | 10011 | /* Clean up the mess */ |
10012 | 10012 | T(YAFFS_TRACE_TRACING, |
10013 | 10013 | (TSTR("yaffs: yaffs_GutsInitialise() aborted.\n" TENDSTR))); |
10014 | @@ -7318,7 +7401,7 @@ int yaffs_GutsInitialise(yaffs_Device * | |
10014 | @@ -7318,7 +7401,7 @@ int yaffs_GutsInitialise(yaffs_Device * | |
10015 | 10015 | |
10016 | 10016 | } |
10017 | 10017 | |
... | ... | |
10710 | 10710 | { |
10711 | 10711 | if (etags) { |
10712 | 10712 | memset(etags, 0, sizeof(*etags)); |
10713 | @@ -169,9 +169,9 @@ static int rettags(yaffs_ExtendedTags * | |
10713 | @@ -169,9 +169,9 @@ static int rettags(yaffs_ExtendedTags * | |
10714 | 10714 | * Returns YAFFS_OK or YAFFS_FAIL. |
10715 | 10715 | */ |
10716 | 10716 | int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev, |
... | ... | |
11038 | 11038 | + yaffs_UnpackTags2(tags, &pt); |
11039 | 11039 | + } |
11040 | 11040 | + } |
11041 | ||
11042 | - if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) | |
11043 | - tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; | |
11041 | + | |
11044 | 11042 | + if (localData) |
11045 | 11043 | + yaffs_ReleaseTempBuffer(dev, data, __LINE__); |
11046 | 11044 | |
11045 | - if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) | |
11047 | 11046 | + if (tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR) |
11048 | + tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; | |
11047 | tags->eccResult = YAFFS_ECC_RESULT_UNFIXED; | |
11048 | - | |
11049 | 11049 | if (retval == 0) |
11050 | 11050 | return YAFFS_OK; |
11051 | 11051 | else |
target/linux/generic/patches-2.6.37/502-yaffs_git_2010_10_20.patch | ||
---|---|---|
316 | 316 | chunk/page state. This byte is zeroed when the page is discarded. |
317 | 317 | Choose this option if you have existing on-NAND data in this format |
318 | 318 | that you need to continue to support. New data written also uses the |
319 | @@ -57,7 +78,7 @@ adjusted to use the older-style format. | |
319 | @@ -57,7 +78,7 @@ adjusted to use the older-style format. | |
320 | 320 | MTD versions in yaffs_mtdif1.c. |
321 | 321 | */ |
322 | 322 | /* Default: Not selected */ |
... | ... | |
1614 | 1614 | yaffs_ECCOther *read_ecc, |
1615 | 1615 | const yaffs_ECCOther *test_ecc) |
1616 | 1616 | { |
1617 | @@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
1617 | @@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char | |
1618 | 1618 | if (cDelta & 0x02) |
1619 | 1619 | bit |= 0x01; |
1620 | 1620 | |
... | ... | |
1623 | 1623 | return -1; |
1624 | 1624 | |
1625 | 1625 | data[lDelta] ^= (1 << bit); |
1626 | @@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char | |
1626 | @@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char | |
1627 | 1627 | return 1; /* corrected */ |
1628 | 1628 | } |
1629 | 1629 |
target/linux/generic/patches-2.6.37/511-debloat_lzma.patch | ||
---|---|---|
124 | 124 | /* LzmaDecode |
125 | 125 | --- a/lib/lzma/LzmaDec.c |
126 | 126 | +++ b/lib/lzma/LzmaDec.c |
127 | @@ -682,7 +682,7 @@ static void LzmaDec_InitRc(CLzmaDec *p, | |
127 | @@ -682,7 +682,7 @@ static void LzmaDec_InitRc(CLzmaDec *p, | |
128 | 128 | p->needFlush = 0; |
129 | 129 | } |
130 | 130 | |
... | ... | |
194 | 194 | { |
195 | 195 | CLzmaProps propNew; |
196 | 196 | RINOK(LzmaProps_Decode(&propNew, props, propsSize)); |
197 | @@ -944,7 +944,7 @@ SRes LzmaDec_AllocateProbs(CLzmaDec *p, | |
197 | @@ -944,7 +944,7 @@ SRes LzmaDec_AllocateProbs(CLzmaDec *p, | |
198 | 198 | return SZ_OK; |
199 | 199 | } |
200 | 200 | |
... | ... | |
375 | 375 | void MatchFinder_Construct(CMatchFinder *p); |
376 | 376 | |
377 | 377 | /* Conditions: |
378 | @@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p, | |
378 | @@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p, | |
379 | 379 | UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, |
380 | 380 | ISzAlloc *alloc); |
381 | 381 | void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc); |
target/linux/generic/patches-2.6.37/600-netfilter_layer7_2.22.patch | ||
---|---|---|
30 | 30 | depends on NETFILTER_ADVANCED |
31 | 31 | --- a/net/netfilter/Makefile |
32 | 32 | +++ b/net/netfilter/Makefile |
33 | @@ -95,6 +95,7 @@ obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT) | |
33 | @@ -95,6 +95,7 @@ obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT) | |
34 | 34 | obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o |
35 | 35 | obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o |
36 | 36 | obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o |
target/linux/generic/patches-2.6.37/722-phy_mvswitch.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/phy/Kconfig |
2 | 2 | +++ b/drivers/net/phy/Kconfig |
3 | @@ -103,6 +103,9 @@ config ADM6996_PHY | |
4 | ---help--- | |
5 | Currently supports the ADM6996F switch | |
3 | @@ -105,6 +105,9 @@ config ADM6996_PHY | |
4 | Currently supports the ADM6996FC and ADM6996M switches. | |
5 | Support for FC is very limited. | |
6 | 6 | |
7 | 7 | +config MVSWITCH_PHY |
8 | 8 | + tristate "Driver for Marvell 88E6060 switches" |
target/linux/generic/patches-2.6.37/723-phy_ip175c.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/phy/Kconfig |
2 | 2 | +++ b/drivers/net/phy/Kconfig |
3 | @@ -106,6 +106,10 @@ config ADM6996_PHY | |
3 | @@ -108,6 +108,10 @@ config ADM6996_PHY | |
4 | 4 | config MVSWITCH_PHY |
5 | 5 | tristate "Driver for Marvell 88E6060 switches" |
6 | 6 |
target/linux/generic/patches-2.6.37/724-phy_ar8216.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/phy/Kconfig |
2 | 2 | +++ b/drivers/net/phy/Kconfig |
3 | @@ -110,6 +110,10 @@ config IP17XX_PHY | |
3 | @@ -112,6 +112,10 @@ config IP17XX_PHY | |
4 | 4 | tristate "Driver for IC+ IP17xx switches" |
5 | 5 | select SWCONFIG |
6 | 6 |
target/linux/generic/patches-2.6.37/725-phy_rtl8306.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/phy/Kconfig |
2 | 2 | +++ b/drivers/net/phy/Kconfig |
3 | @@ -114,6 +114,10 @@ config AR8216_PHY | |
3 | @@ -116,6 +116,10 @@ config AR8216_PHY | |
4 | 4 | tristate "Driver for Atheros AR8216 switches" |
5 | 5 | select SWCONFIG |
6 | 6 |
target/linux/generic/patches-2.6.37/726-phy_rtl8366.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/phy/Kconfig |
2 | 2 | +++ b/drivers/net/phy/Kconfig |
3 | @@ -156,4 +156,29 @@ config MDIO_OCTEON | |
3 | @@ -158,4 +158,29 @@ config MDIO_OCTEON | |
4 | 4 | |
5 | 5 | If in doubt, say Y. |
6 | 6 |
target/linux/generic/patches-2.6.37/750-hostap_txpower.patch | ||
---|---|---|
1 | 1 | --- a/drivers/net/wireless/hostap/hostap_ap.c |
2 | 2 | +++ b/drivers/net/wireless/hostap/hostap_ap.c |
3 | @@ -2335,13 +2335,13 @@ int prism2_ap_get_sta_qual(local_info_t | |
3 | @@ -2335,13 +2335,13 @@ int prism2_ap_get_sta_qual(local_info_t | |
4 | 4 | addr[count].sa_family = ARPHRD_ETHER; |
5 | 5 | memcpy(addr[count].sa_data, sta->addr, ETH_ALEN); |
6 | 6 | if (sta->last_rx_silence == 0) |
target/linux/generic/patches-2.6.37/830-ledtrig_morse.patch | ||
---|---|---|
11 | 11 | endif # NEW_LEDS |
12 | 12 | --- a/drivers/leds/Makefile |
13 | 13 | +++ b/drivers/leds/Makefile |
14 | @@ -52,3 +52,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += | |
14 | @@ -52,3 +52,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += | |
15 | 15 | obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += ledtrig-backlight.o |
16 | 16 | obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o |
17 | 17 | obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o |
target/linux/generic/patches-2.6.37/831-ledtrig_netdev.patch | ||
---|---|---|
14 | 14 | endif # NEW_LEDS |
15 | 15 | --- a/drivers/leds/Makefile |
16 | 16 | +++ b/drivers/leds/Makefile |
17 | @@ -53,3 +53,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += | |
17 | @@ -53,3 +53,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += | |
18 | 18 | obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o |
19 | 19 | obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o |
20 | 20 | obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o |
target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch | ||
---|---|---|
1 | 1 | --- a/drivers/char/gpio_dev.c |
2 | 2 | +++ b/drivers/char/gpio_dev.c |
3 | @@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct | |
3 | @@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct | |
4 | 4 | } |
5 | 5 | |
6 | 6 | struct file_operations gpio_fops = { |
target/linux/generic/patches-2.6.37/900-slab_maxsize.patch | ||
---|---|---|
1 | 1 | --- a/include/linux/slab.h |
2 | 2 | +++ b/include/linux/slab.h |
3 | @@ -130,8 +130,8 @@ int kmem_ptr_validate(struct kmem_cache | |
3 | @@ -130,8 +130,8 @@ int kmem_ptr_validate(struct kmem_cache | |
4 | 4 | * to do various tricks to work around compiler limitations in order to |
5 | 5 | * ensure proper constant folding. |
6 | 6 | */ |
target/linux/generic/patches-2.6.37/911-kobject_add_broadcast_uevent.patch | ||
---|---|---|
20 | 20 | #else |
21 | 21 | static inline int kobject_uevent(struct kobject *kobj, |
22 | 22 | enum kobject_action action) |
23 | @@ -231,6 +237,16 @@ static inline int add_uevent_var(struct | |
23 | @@ -231,6 +237,16 @@ static inline int add_uevent_var(struct | |
24 | 24 | static inline int kobject_action_type(const char *buf, size_t count, |
25 | 25 | enum kobject_action *type) |
26 | 26 | { return -EINVAL; } |
target/linux/generic/patches-2.6.37/941-ocf_20100325.patch | ||
---|---|---|
24 | 24 | * All of these routines try to estimate how many bits of randomness a |
25 | 25 | * particular randomness source. They do this by keeping track of the |
26 | 26 | * first and second order deltas of the event timings. |
27 | @@ -715,6 +725,61 @@ void add_disk_randomness(struct gendisk | |
27 | @@ -715,6 +725,61 @@ void add_disk_randomness(struct gendisk | |
28 | 28 | } |
29 | 29 | #endif |
30 | 30 |