Re: Which CAN driver to port to for PPC
flat view
From: Robert Schwebel <hidden>
Date: 2005-12-29 14:07:05
Hi, On Wed, Dec 28, 2005 at 06:02:26PM +0300, Andrey Volkov wrote:
Robert Schwebel et al have worked socket based CAN (i.e. implement CAN as _net_ dev, not as char), as consequence you will not have problem with major/minor numbers, duplicated code in drivers for different chips, could share CAN dev between diff processes _without_ misc. third party shared libraies, stacked CAN protocols (CANopen/NMEA2000 could be abstract kernel module)... But currently it is not open for everyone (due to beta status, AFAIK) Alessandro, please check Pengutronix work first, may be it will be helpfull to you to [...] P.S. Robert, when I check last time, it was mature enogh, so may be time to open mail-list and svn?
The socket-can stuff is mature enouth to have been used in some projects at Pengutronix. In december, we have made a synchronisation meeting with the VW people who made the initial port for 2.4; they are more focussed on having higher level transport protocols ontop of the "raw" socket interface we currently use. During that process we have reviewed the user interface with regard to their use cases, so it will have to be changed a little bit before we have something which is in a state to be posted on lkml. Unfortunately we have no commercial project behind the infrastructure work, so it's priority is lower than it should be to really drive things forward (paying customers have a higher priority than community work). Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9