Date:2011-05-20 12:06:11 (12 years 10 months ago)
Author:florian
Commit:1a5f6155857580ea2cd5eba218fbfbd9827c3255
Message:[kernel] refresh 2.6.37 patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/generic/patches-2.6.37/020-ssb_update.patch (1 diff)
target/linux/generic/patches-2.6.37/021-ssb_commit_settings_export.patch (1 diff)
target/linux/generic/patches-2.6.37/030-mips_multi_machine_support.patch (1 diff)
target/linux/generic/patches-2.6.37/110_fix_ecn_marking_ipv6.patch (1 diff)
target/linux/generic/patches-2.6.37/230-openwrt_lzma_options.patch (1 diff)
target/linux/generic/patches-2.6.37/306-mips_mem_functions_performance.patch (1 diff)
target/linux/generic/patches-2.6.37/311-arm_update_mach_types.patch (1 diff)
target/linux/generic/patches-2.6.37/400-rootfs_split.patch (4 diffs)
target/linux/generic/patches-2.6.37/460-cfi_show_amd_extended_table_version.patch (1 diff)
target/linux/generic/patches-2.6.37/473-mtd_samsung_flash.patch (1 diff)
target/linux/generic/patches-2.6.37/501-yaffs_cvs_2009_04_24.patch (35 diffs)
target/linux/generic/patches-2.6.37/502-yaffs_git_2010_10_20.patch (3 diffs)
target/linux/generic/patches-2.6.37/511-debloat_lzma.patch (3 diffs)
target/linux/generic/patches-2.6.37/600-netfilter_layer7_2.22.patch (1 diff)
target/linux/generic/patches-2.6.37/722-phy_mvswitch.patch (1 diff)
target/linux/generic/patches-2.6.37/723-phy_ip175c.patch (1 diff)
target/linux/generic/patches-2.6.37/724-phy_ar8216.patch (1 diff)
target/linux/generic/patches-2.6.37/725-phy_rtl8306.patch (1 diff)
target/linux/generic/patches-2.6.37/726-phy_rtl8366.patch (1 diff)
target/linux/generic/patches-2.6.37/750-hostap_txpower.patch (1 diff)
target/linux/generic/patches-2.6.37/830-ledtrig_morse.patch (1 diff)
target/linux/generic/patches-2.6.37/831-ledtrig_netdev.patch (1 diff)
target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch (1 diff)
target/linux/generic/patches-2.6.37/900-slab_maxsize.patch (1 diff)
target/linux/generic/patches-2.6.37/911-kobject_add_broadcast_uevent.patch (1 diff)
target/linux/generic/patches-2.6.37/941-ocf_20100325.patch (1 diff)

Change Details

target/linux/generic/patches-2.6.37/020-ssb_update.patch
197197     /* TODO - get remaining rev 8 stuff needed */
198198 }
199199
200@@ -573,37 +621,34 @@ static int sprom_extract(struct ssb_bus
200@@ -573,37 +621,34 @@ static int sprom_extract(struct ssb_bus
201201     ssb_dprintk(KERN_DEBUG PFX "SPROM revision %d detected.\n", out->revision);
202202     memset(out->et0mac, 0xFF, 6); /* preset et0 and et1 mac */
203203     memset(out->et1mac, 0xFF, 6);
target/linux/generic/patches-2.6.37/021-ssb_commit_settings_export.patch
6767     u32 base = 0;
6868--- a/include/linux/ssb/ssb.h
6969+++ 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
7171  * Otherwise static always-on powercontrol will be used. */
7272 extern int ssb_bus_powerup(struct ssb_bus *bus, bool dynamic_pctl);
7373
target/linux/generic/patches-2.6.37/030-mips_multi_machine_support.patch
176176
177177 unsigned int vced_count, vcei_count;
178178
179@@ -31,8 +32,12 @@ static int show_cpuinfo(struct seq_file
179@@ -31,8 +32,12 @@ static int show_cpuinfo(struct seq_file
180180     /*
181181      * For the first processor also print the system type
182182      */
target/linux/generic/patches-2.6.37/110_fix_ecn_marking_ipv6.patch
11--- a/include/net/inet_ecn.h
22+++ 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(
44     return outer;
55 }
66
target/linux/generic/patches-2.6.37/230-openwrt_lzma_options.patch
11--- a/scripts/Makefile.lib
22+++ 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,$^)
44
55 quiet_cmd_lzma = LZMA $@
66 cmd_lzma = (cat $(filter-out FORCE,$^) | \
target/linux/generic/patches-2.6.37/306-mips_mem_functions_performance.patch
11--- a/arch/mips/include/asm/string.h
22+++ 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__
44
55 #define __HAVE_ARCH_MEMSET
66 extern void *memset(void *__s, int __c, size_t __count);
target/linux/generic/patches-2.6.37/311-arm_update_mach_types.patch
6363 htc_excalibur_s620 MACH_HTC_EXCALIBUR_S620 HTC_EXCALIBUR_S620 2391
6464 htc_opal MACH_HTC_OPAL HTC_OPAL 2392
6565 touchbook MACH_TOUCHBOOK TOUCHBOOK 2393
66@@ -2446,7 +2446,7 @@ siogentoo1 MACH_SIOGENTOO1 SIOGENTOO1
66@@ -2446,7 +2446,7 @@ siogentoo1 MACH_SIOGENTOO1 SIOGENTOO1
6767 siogentoo2 MACH_SIOGENTOO2 SIOGENTOO2 2459
6868 sm3k MACH_SM3K SM3K 2460
6969 acer_tempo_f900 MACH_ACER_TEMPO_F900 ACER_TEMPO_F900 2461
target/linux/generic/patches-2.6.37/400-rootfs_split.patch
193193 /*
194194  * This function, given a master MTD object and a partition table, creates
195195  * 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 *
197197 {
198198     struct mtd_part *slave;
199199     uint64_t cur_offset = 0;
...... 
202202
203203     printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name);
204204
205@@ -648,6 +797,21 @@ int add_mtd_partitions(struct mtd_info *
205@@ -648,6 +799,21 @@ int add_mtd_partitions(struct mtd_info *
206206
207207         add_mtd_device(&slave->mtd);
208208
...... 
224224         cur_offset = slave->offset + slave->mtd.size;
225225     }
226226
227@@ -655,6 +819,32 @@ int add_mtd_partitions(struct mtd_info *
227@@ -655,6 +821,32 @@ int add_mtd_partitions(struct mtd_info *
228228 }
229229 EXPORT_SYMBOL(add_mtd_partitions);
230230
...... 
259259
260260--- a/drivers/mtd/mtdchar.c
261261+++ 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,
263263         file->f_pos = 0;
264264         break;
265265     }
target/linux/generic/patches-2.6.37/460-cfi_show_amd_extended_table_version.patch
11--- a/drivers/mtd/chips/cfi_cmdset_0002.c
22+++ 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
44
55             /*
66              * 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
11--- a/drivers/mtd/chips/cfi_cmdset_0002.c
22+++ 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[] =
44 static void cfi_fixup_major_minor(struct cfi_private *cfi,
55                   struct cfi_pri_amdstd *extp)
66 {
target/linux/generic/patches-2.6.37/501-yaffs_cvs_2009_04_24.patch
601601             dev->checkpointBlockList[i] = -1;
602602     }
603603
604@@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device
604@@ -191,18 +185,17 @@ int yaffs_GetCheckpointSum(yaffs_Device
605605
606606 static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev)
607607 {
...... 
926926 {
927927     unsigned char cDelta; /* column parity delta */
928928     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
930930         return 0; /* no error */
931931
932932     if (lDelta == ~lDeltaPrime &&
...... 
936936         /* Single bit (recoverable) error in data */
937937
938938         bit = 0;
939@@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char
939@@ -307,7 +304,7 @@ int yaffs_ECCCorrectOther(unsigned char
940940         if (cDelta & 0x02)
941941             bit |= 0x01;
942942
...... 
945945             return -1;
946946
947947         data[lDelta] ^= (1 << bit);
948@@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char
948@@ -316,7 +313,7 @@ int yaffs_ECCCorrectOther(unsigned char
949949     }
950950
951951     if ((yaffs_CountBits32(lDelta) + yaffs_CountBits32(lDeltaPrime) +
...... 
954954         /* Reccoverable error in ecc */
955955
956956         *read_ecc = *test_ecc;
957@@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char
957@@ -326,6 +323,4 @@ int yaffs_ECCCorrectOther(unsigned char
958958     /* Unrecoverable error */
959959
960960     return -1;
...... 
13981398 {
13991399     unsigned char *alias;
14001400     int ret;
1401@@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry
1401@@ -329,7 +395,7 @@ static int yaffs_readlink(struct dentry
14021402     return ret;
14031403 }
14041404
...... 
15601560 static int yaffs_file_flush(struct file *file, fl_owner_t id)
15611561 #else
15621562 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
15641564     yaffs_Device *dev = obj->myDev;
15651565
15661566     T(YAFFS_TRACE_OS,
...... 
15711571
15721572     yaffs_GrossLock(dev);
15731573
1574@@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct
1574@@ -535,15 +601,15 @@ static int yaffs_readpage_nolock(struct
15751575
15761576     yaffs_Device *dev;
15771577
...... 
15911591     BUG_ON(!PageLocked(pg));
15921592 #else
15931593     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
15951595
15961596     yaffs_GrossLock(dev);
15971597
...... 
16041604
16051605     yaffs_GrossUnlock(dev);
16061606
1607@@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct
1607@@ -575,7 +641,7 @@ static int yaffs_readpage_nolock(struct
16081608     flush_dcache_page(pg);
16091609     kunmap(pg);
16101610
...... 
31933193         if (n < step) {
31943194             n++;
31953195             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
31973197     char *end;
31983198     char *mask_name;
31993199     const char *x;
...... 
32023202     int i;
32033203     int done = 0;
32043204     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
32063206
32073207     while (!done && (pos < count)) {
32083208         done = 1;
...... 
32133213
32143214         switch (buf[pos]) {
32153215         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
32173217         mask_name = NULL;
32183218
32193219         mask_bitfield = simple_strtoul(buf + pos, &end, 0);
...... 
32403240                     mask_name = mask_flags[i].mask_name;
32413241                     mask_bitfield = mask_flags[i].mask_bitfield;
32423242                     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
32443244
32453245         if (mask_name != NULL) {
32463246             done = 0;
...... 
32493249             case '-':
32503250                 rg &= ~mask_bitfield;
32513251                 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
32533253
32543254     yaffs_traceMask = rg | YAFFS_TRACE_ALWAYS;
32553255
...... 
56915691 {
56925692     /* Get the real object in case we were fed a hard link as an equivalent object */
56935693     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 *
56955695
56965696 }
56975697
...... 
76227622     int nToCopy;
76237623     int n = nBytes;
76247624     int nDone = 0;
7625@@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object
7625@@ -4600,27 +4665,26 @@ int yaffs_ReadDataFromFile(yaffs_Object
76267626     dev = in->myDev;
76277627
76287628     while (n > 0) {
...... 
76577657             if (dev->nShortOpCaches > 0) {
76587658
76597659                 /* 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
76617661
76627662                 cache->locked = 1;
76637663
...... 
76737673                 cache->locked = 0;
76747674             } else {
76757675                 /* 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
76777677                     yaffs_GetTempBuffer(dev, __LINE__);
76787678                 yaffs_ReadChunkDataFromObject(in, chunk,
76797679                                   localBuffer);
...... 
77187718         }
77197719
77207720         n -= nToCopy;
7721@@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object
7721@@ -4704,28 +4741,37 @@ int yaffs_ReadDataFromFile(yaffs_Object
77227722     return nDone;
77237723 }
77247724
...... 
79237923     int newFullChunks;
79247924
79257925     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,
79277927
79287928     yaffs_CheckGarbageCollection(dev);
79297929
...... 
79417941
79427942     if (newSize < oldFileSize) {
79437943
7944@@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in,
7944@@ -4994,21 +5018,20 @@ int yaffs_ResizeFile(yaffs_Object * in,
79457945     }
79467946
79477947
...... 
79687968 {
79697969     obj = yaffs_GetEquivalentObject(obj);
79707970
7971@@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object *
7971@@ -5024,7 +5047,7 @@ loff_t yaffs_GetFileSize(yaffs_Object *
79727972
79737973
79747974
...... 
97899789 {
97909790     int init_failed = 0;
97919791     unsigned x;
9792@@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device *
9792@@ -7040,6 +7126,8 @@ int yaffs_GutsInitialise(yaffs_Device *
97939793     dev->chunkOffset = 0;
97949794     dev->nFreeChunks = 0;
97959795
...... 
97989798     if (dev->startBlock == 0) {
97999799         dev->internalStartBlock = dev->startBlock + 1;
98009800         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 *
98029802
98039803     /* Check geometry parameters. */
98049804
...... 
98239823         return YAFFS_FAIL;
98249824     }
98259825
9826@@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device *
9826@@ -7070,6 +7158,12 @@ int yaffs_GutsInitialise(yaffs_Device *
98279827         return YAFFS_FAIL;
98289828     }
98299829
...... 
98369836     /* Got the right mix of functions? */
98379837     if (!yaffs_CheckDevFunctions(dev)) {
98389838         /* Function missing */
9839@@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device *
9839@@ -7097,31 +7191,18 @@ int yaffs_GutsInitialise(yaffs_Device *
98409840
98419841     dev->isMounted = 1;
98429842
...... 
98759875
98769876     /*
98779877      * Calculate chunkGroupBits.
9878@@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device *
9878@@ -7133,16 +7214,15 @@ int yaffs_GutsInitialise(yaffs_Device *
98799879     bits = ShiftsGE(x);
98809880
98819881     /* Set up tnode width if wide tnodes are enabled. */
...... 
98969896         dev->tnodeWidth = 16;
98979897
98989898     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 *
99009900     dev->hasPendingPrioritisedGCs = 1; /* Assume the worst for now, will get fixed on first GC */
99019901
99029902     /* Initialise temporary buffers and caches. */
...... 
99059905         init_failed = 1;
99069906
99079907     dev->srCache = NULL;
9908@@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device *
9908@@ -7203,25 +7283,26 @@ int yaffs_GutsInitialise(yaffs_Device *
99099909     if (!init_failed &&
99109910         dev->nShortOpCaches > 0) {
99119911         int i;
...... 
99409940             init_failed = 1;
99419941
99429942         dev->srLastUse = 0;
9943@@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device *
9943@@ -7229,29 +7310,30 @@ int yaffs_GutsInitialise(yaffs_Device *
99449944
99459945     dev->cacheHits = 0;
99469946
...... 
99799979                 T(YAFFS_TRACE_ALWAYS,
99809980                   (TSTR("yaffs: restored from checkpoint" TENDSTR)));
99819981             } else {
9982@@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device *
9982@@ -7273,24 +7355,25 @@ int yaffs_GutsInitialise(yaffs_Device *
99839983                 dev->nBackgroundDeletions = 0;
99849984                 dev->oldestDirtySequence = 0;
99859985
...... 
1001110011         /* Clean up the mess */
1001210012         T(YAFFS_TRACE_TRACING,
1001310013           (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 *
1001510015
1001610016 }
1001710017
...... 
1071010710 {
1071110711     if (etags) {
1071210712         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 *
1071410714  * Returns YAFFS_OK or YAFFS_FAIL.
1071510715  */
1071610716 int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev,
...... 
1103811038+ yaffs_UnpackTags2(tags, &pt);
1103911039+ }
1104011040+ }
11041
11042- if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
11043- tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;
11041+
1104411042+ if (localData)
1104511043+ yaffs_ReleaseTempBuffer(dev, data, __LINE__);
1104611044
11045- if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
1104711046+ 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-
1104911049     if (retval == 0)
1105011050         return YAFFS_OK;
1105111051     else
target/linux/generic/patches-2.6.37/502-yaffs_git_2010_10_20.patch
316316 chunk/page state. This byte is zeroed when the page is discarded.
317317 Choose this option if you have existing on-NAND data in this format
318318 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.
320320 MTD versions in yaffs_mtdif1.c.
321321 */
322322 /* Default: Not selected */
...... 
16141614             yaffs_ECCOther *read_ecc,
16151615             const yaffs_ECCOther *test_ecc)
16161616 {
1617@@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char
1617@@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char
16181618         if (cDelta & 0x02)
16191619             bit |= 0x01;
16201620
...... 
16231623             return -1;
16241624
16251625         data[lDelta] ^= (1 << bit);
1626@@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char
1626@@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char
16271627         return 1; /* corrected */
16281628     }
16291629
target/linux/generic/patches-2.6.37/511-debloat_lzma.patch
124124 /* LzmaDecode
125125--- a/lib/lzma/LzmaDec.c
126126+++ 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,
128128   p->needFlush = 0;
129129 }
130130
...... 
194194 {
195195   CLzmaProps propNew;
196196   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,
198198   return SZ_OK;
199199 }
200200
...... 
375375 void MatchFinder_Construct(CMatchFinder *p);
376376
377377 /* Conditions:
378@@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p,
378@@ -70,12 +65,6 @@ int MatchFinder_Create(CMatchFinder *p,
379379     UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter,
380380     ISzAlloc *alloc);
381381 void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc);
target/linux/generic/patches-2.6.37/600-netfilter_layer7_2.22.patch
3030     depends on NETFILTER_ADVANCED
3131--- a/net/netfilter/Makefile
3232+++ 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)
3434 obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o
3535 obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o
3636 obj-$(CONFIG_NETFILTER_XT_MATCH_STATE) += xt_state.o
target/linux/generic/patches-2.6.37/722-phy_mvswitch.patch
11--- a/drivers/net/phy/Kconfig
22+++ 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.
66
77+config MVSWITCH_PHY
88+ tristate "Driver for Marvell 88E6060 switches"
target/linux/generic/patches-2.6.37/723-phy_ip175c.patch
11--- a/drivers/net/phy/Kconfig
22+++ b/drivers/net/phy/Kconfig
3@@ -106,6 +106,10 @@ config ADM6996_PHY
3@@ -108,6 +108,10 @@ config ADM6996_PHY
44 config MVSWITCH_PHY
55     tristate "Driver for Marvell 88E6060 switches"
66
target/linux/generic/patches-2.6.37/724-phy_ar8216.patch
11--- a/drivers/net/phy/Kconfig
22+++ b/drivers/net/phy/Kconfig
3@@ -110,6 +110,10 @@ config IP17XX_PHY
3@@ -112,6 +112,10 @@ config IP17XX_PHY
44     tristate "Driver for IC+ IP17xx switches"
55     select SWCONFIG
66
target/linux/generic/patches-2.6.37/725-phy_rtl8306.patch
11--- a/drivers/net/phy/Kconfig
22+++ b/drivers/net/phy/Kconfig
3@@ -114,6 +114,10 @@ config AR8216_PHY
3@@ -116,6 +116,10 @@ config AR8216_PHY
44     tristate "Driver for Atheros AR8216 switches"
55     select SWCONFIG
66
target/linux/generic/patches-2.6.37/726-phy_rtl8366.patch
11--- a/drivers/net/phy/Kconfig
22+++ b/drivers/net/phy/Kconfig
3@@ -156,4 +156,29 @@ config MDIO_OCTEON
3@@ -158,4 +158,29 @@ config MDIO_OCTEON
44
55       If in doubt, say Y.
66
target/linux/generic/patches-2.6.37/750-hostap_txpower.patch
11--- a/drivers/net/wireless/hostap/hostap_ap.c
22+++ 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
44         addr[count].sa_family = ARPHRD_ETHER;
55         memcpy(addr[count].sa_data, sta->addr, ETH_ALEN);
66         if (sta->last_rx_silence == 0)
target/linux/generic/patches-2.6.37/830-ledtrig_morse.patch
1111 endif # NEW_LEDS
1212--- a/drivers/leds/Makefile
1313+++ b/drivers/leds/Makefile
14@@ -52,3 +52,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) +=
14@@ -52,3 +52,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) +=
1515 obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) += ledtrig-backlight.o
1616 obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o
1717 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
target/linux/generic/patches-2.6.37/831-ledtrig_netdev.patch
1414 endif # NEW_LEDS
1515--- a/drivers/leds/Makefile
1616+++ b/drivers/leds/Makefile
17@@ -53,3 +53,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) +=
17@@ -53,3 +53,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT) +=
1818 obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o
1919 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
2020 obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o
target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch
11--- a/drivers/char/gpio_dev.c
22+++ 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
44 }
55
66 struct file_operations gpio_fops = {
target/linux/generic/patches-2.6.37/900-slab_maxsize.patch
11--- a/include/linux/slab.h
22+++ 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
44  * to do various tricks to work around compiler limitations in order to
55  * ensure proper constant folding.
66  */
target/linux/generic/patches-2.6.37/911-kobject_add_broadcast_uevent.patch
2020 #else
2121 static inline int kobject_uevent(struct kobject *kobj,
2222                  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
2424 static inline int kobject_action_type(const char *buf, size_t count,
2525                       enum kobject_action *type)
2626 { return -EINVAL; }
target/linux/generic/patches-2.6.37/941-ocf_20100325.patch
2424  * All of these routines try to estimate how many bits of randomness a
2525  * particular randomness source. They do this by keeping track of the
2626  * 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
2828 }
2929 #endif
3030

Archive Download the corresponding diff file



interactive