Which CAN driver to port to for PPC
David Jander
david.jander at protonic.nl
Wed Dec 28 03:30:28 EST 2005
Hi,
We have developed CAN hardware based on the Philips SJA1000 controller hooked
to a MPC8xx based processor board. Now we want to write driver support for
it. My first try was lincan-0.3.1, which seemed quite well written at first
glance. Porting was easy too, and the driver works fine on our board with the
latest kernel (2.6.14).
But.... this driver lacks a proper way of checking the status of the CAN
controller from userspace :-( Not that nice after all!
Then I see on the DENX website, mention of Rubini's OCAN (mostly useless to
us), and Peak's PCAN drivers (there is a port for MPC5200 on DENX's site). No
word about lincan, though.
The reason I suppose is, someone already figured out that lincan is not a good
choice for whatever reason (status reportability ??), right?
Before beginning to re-invent wheels and re-discover known problems in certain
CAN driver architectures, could someone please point me to the right place to
start looking for answers (if that place exists) or just give the answer,
opinion or experience with one of PeakCAN, lincan, can4linux, etc...?
I am again puzzeled about which way to go.
Thanks for any advice,
--
David Jander
Protonic Holland.
More information about the Linuxppc-embedded
mailing list