On 04.10.2010 14:39, Wolfgang Grandegger wrote: > Hello Uwe, > > On 10/04/2010 01:34 PM, Uwe Bonnes wrote: >> Hello, >> >> it seems that Linux 2.6.36 changes the interrupt API again. I applied >> appended patch, however it does not determine Kernel version. >> >> B.t.w.: Any plans for inclusion of the PCAN driver in the kernel? > > This is not the right mailing list to post patches for PEAK's PCAN > driver. Anyway, it would make much more sense to provide real Socketcan > driver support for the PCAN devices.
Yes - this would be nice indeed. E.g. the PCMCIA support currently breaks with every new kernel as the PCMCIA maintainer does step-by-step cleanups of the code/API. My personal favourite would be a chardev emulator to serve the legacy PEAK chardev API (see attached picture). This would allow a legacy application in parallel to other SocketCAN apps AND it would provide real netdev devices. I bet the performance would be even better than the current implementation which does a spinlock_irqsave() when pulling CAN frames out of the FIFO before delivering the frame to the userspace. Regards, Oliver
<<attachment: chardev_emu.png>>
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
