All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Rubini <rubini@gnudd.com>
To: david.jander@protonic.nl
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Which CAN driver to port to for PPC
Date: Wed, 28 Dec 2005 14:19:39 +0100	[thread overview]
Message-ID: <20051228131939.GA17170@mail.gnudd.com> (raw)
In-Reply-To: <200512281000.12073.david.jander@protonic.nl>


Hello.

> The problem I see with Ocan is that it has a very different API than all the 
> others.

I know. When I started the project there only was one driver, and
it was already very complex. But it lacked the select method(now
poll), and had other serious design problems. So I started mine,
without advertising it.

Now I have a few happy users, and they want to keep my API in their
applications, so I'm stuck with it.

> I wonder how the port to SJA1000 will turn out, since I believe it
> would have to emulate some 82527-specific stuff, in order to offer a
> compatible API.

True, but the chip isn't _that_ different, actually.

> I am convinced though, that there should be a chip/card-independent
> API to the application-programmer, and that effort should be done to
> converge into the same direction.

Yes, that is how things should be, in an ideal world.

> So, wouldn't it be better to try to unite forces and at least offer
> similar API's, or even better, develop a standard linux CAN
> framework?

It would. Anyone willing to lead this effort? [no offence or humor
intended, I am interested in following it, but can't lead it myself]

Thanks for your comments
/alessandro

  reply	other threads:[~2005-12-28 13:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-27 16:30 Which CAN driver to port to for PPC David Jander
2005-12-27 21:49 ` Alessandro Rubini
2005-12-28  9:00   ` David Jander
2005-12-28 13:19     ` Alessandro Rubini [this message]
2005-12-28 15:05       ` David Jander
2005-12-28 15:02     ` Andrey Volkov
2005-12-28 15:07       ` Alessandro Rubini
2005-12-29 12:17         ` Wolfgang Grandegger
2005-12-29 16:28           ` David Jander
2005-12-29 13:43       ` Robert Schwebel
2005-12-29 15:12         ` [Socket-can] " Jan Kiszka
2005-12-28 10:44 ` Wolfgang Grandegger
2005-12-28 12:02   ` David Jander
2005-12-29 11:53     ` Wolfgang Grandegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051228131939.GA17170@mail.gnudd.com \
    --to=rubini@gnudd.com \
    --cc=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.