Wolfgang Grandegger wrote:
> 
> 
> You can still get it from our BerliOS SVN repository (soon we will
> switch to github):
> 
>   http://developer.berlios.de/svn/?group_id=6475
> 
> In the README is described how to build the relevant kernel modules. Be
> aware that for that old version only the old SysFS interface is
> available to setup the bit-timing parameters (bitrate, etc.).
> 
> Wolfgang.
> 
> 

Hi Wolfgang,


Thank you for the info. I've downloaded all files from trunk/linux-2.6/
but still an error when compiling the source code  as below :

[[email protected]]# make ARCH=arm
CROSS_COMPILE=arm-linux- modules
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC [M]  drivers/net/can/dev.o
drivers/net/can/dev.c:37:2: #error "CAN sysfs interface not support by this
kernel version"

---------------- dev.c -----------------

#ifndef CONFIG_CAN_DEV_SYSFS
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
#error "CAN netlink interface not support by this kernel version"
#endif
#include <socketcan/can/netlink.h>
#include <net/rtnetlink.h>
#else
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
#error "CAN sysfs interface not support by this kernel version"
#endif

-------------------------------------------

Regarding part of code above, it is impossible to use socketcan
for linux-2.6.20. Is there any way to around the problem ?

Regards,
Michael




-- 
View this message in context: 
http://old.nabble.com/Info-request-about-sja1000_isa.c-tp32846177p32860347.html
Sent from the Socket-CAN Users mailing list archive at Nabble.com.

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to