EP536 driver for 2.6.20 now available Many many thanks Philippe ---------- Forwarded message ---------- Date: Fri, 02 Mar 2007 19:11:38 +0100 From: Philippe Vouters <Philippe.Vouters@xxxxxxxxxxx> To: Jacques Goldberg <goldberg@xxxxxxxxxxxxxxxxxxxx> Subject: Intel 536EP for kernel 2.6.20 Please download http://vouters.dyndns.org:8080/Intel/intel-536EP-2.56.76.0_23_02_2007.tgz to store the file at the following URL: http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ I modified this file and it has been successfully tested by Chupko from Serbia (mail below) on a 2.6.20.1 Linux kernel. This might interest the Linux community. Chupko wrote: I am finally compile new (2.6.20.1) kernel for computer in my house and try intel-536EP-2.56.76.0_23_02_2007.tgz. FYI, I use slackware 11.0. This is compiling report: [desktop] 0 /root/compile/intel-536EP-2.56.76.0 # make 536 Module precompile check Current running kernel is: 2.6.20.1 /lib/modules... autoconf.h exists diff: /boot/vmlinuz.autoconf.h: No such file or directory autoconf.h matches running kernel diff: /boot/vmlinuz.version.h: No such file or directory version.h matches running kernel uname -r|grep "2.6" && \ cd coredrv && make 536core_26 && \ cp Intel536.ko .. && cd .. && \ strip --strip-debug Intel536.ko && \ exit; \ ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \ if [ ]; then \ cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \ else \ cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \ "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \ fi ; \ cp Intel536.o .. ; \ if [ -a /boot/vmlinuz.version.h ]; then \ cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\ fi 2.6.20.1 make[1]: Entering directory `/root/compile/intel-536EP-2.56.76.0/coredrv' make -C /lib/modules/2.6.20.1/build SUBDIRS=/root/compile/intel-536EP-2.56.76.0/coredrv modules make[2]: Entering directory `/usr/src/linux-2.6.20.1' CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/coredrv.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/clmmain.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/rts.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/task.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/uart.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/wwh_dflt.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/locks.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/softserial_io.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/softserial_ioctl.o CC [M] /root/compile/intel-536EP-2.56.76.0/coredrv/softserial.o /root/compile/intel-536EP-2.56.76.0/coredrv/softserial.c: In function `softserial_background_event_handler': /root/compile/intel-536EP-2.56.76.0/coredrv/softserial.c:331: warning: ISO C90 forbids mixed declarations and code LD [M] /root/compile/intel-536EP-2.56.76.0/coredrv/Intel536.o Building modules, stage 2. MODPOST 1 modules CC /root/compile/intel-536EP-2.56.76.0/coredrv/Intel536.mod.o LD [M] /root/compile/intel-536EP-2.56.76.0/coredrv/Intel536.ko make[2]: Leaving directory `/usr/src/linux-2.6.20.1' make[1]: Leaving directory `/root/compile/intel-536EP-2.56.76.0/coredrv' After insmod, the module work good. Connection speed is OK (I use CONFIG_HZ=250 in kernel configuration). Downloading speed is equal with with connection speed. Conclusion: all work fine on 2.6.20.1.