wok diff linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.33.patch @ rev 8285

Fixed linmodem-intel-536ep and linmodem-intel-537.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 30 16:24:20 2011 +0000 (2011-01-30)
parents
children 1c8541e0ec86
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.33.patch	Sun Jan 30 16:24:20 2011 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +--- config_check~	2010-02-27 16:18:10.000000000 +0100
     1.5 ++++ config_check	2010-02-27 16:18:10.000000000 +0100
     1.6 +@@ -36,7 +36,7 @@
     1.7 + echo "   Current running kernel is: $KERNVER"
     1.8 + 
     1.9 + 
    1.10 +-if [ -a /lib/modules/$KERNVER/build/include/linux/autoconf.h ]; then
    1.11 ++if [ -a /lib/modules/$KERNVER/build/include/generated/autoconf.h ]; then
    1.12 +    echo "   /lib/modules...   autoconf.h exists"
    1.13 + else
    1.14 +    echo "   /lib/modules...   autoconf.h does not exist"
    1.15 +@@ -44,7 +44,7 @@
    1.16 +    exit 1
    1.17 + fi
    1.18 + 
    1.19 +-if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/linux/autoconf.h`" \
    1.20 ++if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/generated/autoconf.h`" \
    1.21 +     == "" ]; then
    1.22 +    echo "   autoconf.h matches running kernel"
    1.23 + else
    1.24 +@@ -61,7 +61,7 @@
    1.25 +    echo  configurations to create a functional driver for this kernel.
    1.26 +    echo  call \"make config_sync\" and this script will
    1.27 +    echo  copy the file /boot/vmlinuz.autoconf.h to 
    1.28 +-   echo  /lib/modules/$KERNVER/build/include/linux/autoconf.h
    1.29 ++   echo  /lib/modules/$KERNVER/build/include/generated/autoconf.h
    1.30 +    echo  and backup the original autoconf.h as autoconf.bak
    1.31 +    echo  The same will be done for version.h
    1.32 +    echo  Then repeat the build and installation procedure over again.
    1.33 +--- coredrv/hamdefs.h~	2010-02-27 16:20:58.000000000 +0100
    1.34 ++++ coredrv/hamdefs.h	2010-02-27 16:20:58.000000000 +0100
    1.35 +@@ -51,7 +51,7 @@
    1.36 +    #define EXPORT_SYMTAB
    1.37 +    #include<linux/version.h>
    1.38 + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
    1.39 +-   #include<linux/autoconf.h>
    1.40 ++   #include<generated/autoconf.h>
    1.41 + #else
    1.42 +    #include<linux/config.h>
    1.43 + #endif