wok-6.x view linmodem-intel-537/stuff/linmodem-intel-537-kernel-2.6.33.patch @ rev 10689

ufr2: old version dont work so up and clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 21:15:10 2011 +0200 (2011-05-27)
parents ad6487ac4314
children
line source
1 --- intel-536-537/config_check~ 2010-02-27 16:18:10.000000000 +0100
2 +++ intel-536-537/config_check 2010-02-27 16:18:10.000000000 +0100
3 @@ -36,7 +36,7 @@
4 echo " Current running kernel is: $KERNVER"
7 -if [ -a /lib/modules/$KERNVER/build/include/linux/autoconf.h ]; then
8 +if [ -a /lib/modules/$KERNVER/build/include/generated/autoconf.h ]; then
9 echo " /lib/modules... autoconf.h exists"
10 else
11 echo " /lib/modules... autoconf.h does not exist"
12 @@ -44,7 +44,7 @@
13 exit 1
14 fi
16 -if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/linux/autoconf.h`" \
17 +if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/generated/autoconf.h`" \
18 == "" ]; then
19 echo " autoconf.h matches running kernel"
20 else
21 @@ -61,7 +61,7 @@
22 echo configurations to create a functional driver for this kernel.
23 echo call \"make config_sync\" and this script will
24 echo copy the file /boot/vmlinuz.autoconf.h to
25 - echo /lib/modules/$KERNVER/build/include/linux/autoconf.h
26 + echo /lib/modules/$KERNVER/build/include/generated/autoconf.h
27 echo and backup the original autoconf.h as autoconf.bak
28 echo The same will be done for version.h
29 echo Then repeat the build and installation procedure over again.
30 --- intel-536-537/coredrv/hamdefs.h~ 2010-02-27 16:20:58.000000000 +0100
31 +++ intel-536-537/coredrv/hamdefs.h 2010-02-27 16:20:58.000000000 +0100
32 @@ -51,7 +51,7 @@
33 #define EXPORT_SYMTAB
34 #include<linux/version.h>
35 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
36 - #include<linux/autoconf.h>
37 + #include<generated/autoconf.h>
38 #else
39 #include<linux/config.h>
40 #endif