- Linux CAN Driver (LinCAN) version 0.3.3
+ Linux CAN Driver (LinCAN) version 0.3.4
Pavel Pisa <pisa@cmp.felk.cvut.cz>
OCERA team member <http://www.ocera.org>
Real-time Systems Laboratory <http://rtlab.felk.cvut.cz/>
tested up to 2.6.17 (rc4). Minimal chip info in /proc/can.
Support for NSI CAN PCI contributed by Eric Pennamen.
-
+lincan-0.3.4 Some more fixes of SJA1000 buss-of recovery,
+(March 2009) Many enhancements and fixes. Tested up to 2.6.28 Linux kernel.
+
The actual version of driver have been latest tested it with
- PC104 Advantech PCM3680 dual channel board on 2.4 RT-Linux enabled kernel
- PiKRON ISA card on 2.4.and 2.6 Linux kernels
/* Version of the driver */
#define CAN_DRV_VER_MAJOR 0
#define CAN_DRV_VER_MINOR 3
-#define CAN_DRV_VER_PATCH 3
+#define CAN_DRV_VER_PATCH 4
#define CAN_DRV_VER ((CAN_DRV_VER_MAJOR<<16) | (CAN_DRV_VER_MINOR<<8) | CAN_DRV_VER_PATCH)
/* Default driver major number, see /usr/src/linux/Documentation/devices.txt */
this_dev=class_device_create(can_class, MKDEV(major, dev_minor), NULL, "can%d", dev_minor);
#elif LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,25) /* >= 2.6.15 */
this_dev=class_device_create(can_class, NULL, MKDEV(major, dev_minor), NULL, "can%d", dev_minor);
- #else /* >= 2.6.26 */
+ #elif LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,27)
this_dev=device_create_drvdata(can_class, NULL, MKDEV(major, dev_minor), objects_p[i], "can%d", dev_minor);
- #endif /* >= 2.6.26 */
+ #else /* >= 2.6.28 */
+ this_dev=device_create(can_class, NULL, MKDEV(major, dev_minor), objects_p[i], "can%d", dev_minor);
+ #endif /* >= 2.6.28 */
if(IS_ERR(this_dev)){
CANMSG("problem to create device \"can%d\" in the class \"can\"\n", dev_minor);
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,25)