[rdc] add r6040 phylib support which allows to use the ip175c switch driver on ar525w
[openwrt.git] / target / linux / rdc / patches-2.6.32 / 011-tune_lzma_options.patch
1 Index: linux-2.6.32.9/scripts/Makefile.lib
2 ===================================================================
3 --- linux-2.6.32.9.orig/scripts/Makefile.lib    2010-04-13 07:55:06.543296524 +0200
4 +++ linux-2.6.32.9/scripts/Makefile.lib 2010-04-13 07:55:06.814268461 +0200
5 @@ -228,7 +228,7 @@
6  
7  quiet_cmd_lzma = LZMA    $@
8  cmd_lzma = (cat $(filter-out FORCE,$^) | \
9 -       lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
10 +       lzma e -lc8 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
11         (rm -f $@ ; false)
12  
13  quiet_cmd_lzo = LZO    $@
14 Index: linux-2.6.32.9/arch/x86/include/asm/boot.h
15 ===================================================================
16 --- linux-2.6.32.9.orig/arch/x86/include/asm/boot.h     2010-02-23 16:38:51.000000000 +0100
17 +++ linux-2.6.32.9/arch/x86/include/asm/boot.h  2010-04-13 08:00:14.474369306 +0200
18 @@ -28,7 +28,7 @@
19  #error "Invalid value for CONFIG_PHYSICAL_ALIGN"
20  #endif
21  
22 -#ifdef CONFIG_KERNEL_BZIP2
23 +#if defined(CONFIG_KERNEL_BZIP2) || defined(CONFIG_KERNEL_LZMA)
24  #define BOOT_HEAP_SIZE             0x400000
25  #else /* !CONFIG_KERNEL_BZIP2 */
26