Am Mittwoch, 21. Oktober 2009 12:38:01 schrieb Kurt Van Dijck: > .......... > > Signed-of-by: Kurt Van Dijck <[email protected]> > > --- drivers/net/can/sja1000/sja1000_platform.c 2009-10-16 > 09:30:14.000000000 +0200 +++ > /srv/squamata/linux/trunk/drivers/net/can/sja1000/sja1000_platform.c > 2009-10-15 10:16:14.000000000 +0200 @@ -35,7 +35,8 @@ > #define DRV_NAME "sja1000_platform" > > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) > -#error This driver does not support Kernel versions < 2.6.27 > +#define resource_size(res) ((res)->end + 1 - (res->start)) > +/* #error This driver does not support Kernel versions < 2.6.27 */ > #endif > > MODULE_AUTHOR("Sascha Hauer <[email protected]>");
Hello Kurt This patch works for me, at least the makefile finishes now with the following result. -rw-rw-rw- 1 oe users 17397 21. Okt 13:01 net/can/can-bcm.ko -rw-rw-rw- 1 oe users 13026 21. Okt 13:01 net/can/can-isotp.ko -rw-rw-rw- 1 oe users 20927 21. Okt 13:01 net/can/can.ko -rw-rw-rw- 1 oe users 10425 21. Okt 13:01 net/can/can-raw.ko I now have to adopt to my hardware addresses , addressing mechanism etc. I will report later if all is working that not only the driver compiles but also does what it should do. Heinz _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
