kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: freakrobot@acm.org (cheng chen)
To: kernelnewbies@lists.kernelnewbies.org
Subject: how CAN-bus Linux driver MCP251x.c works
Date: Sat, 15 Jan 2011 15:31:20 +0800	[thread overview]
Message-ID: <AANLkTinpATogey2sYmG-TZ=1J=mk=57OmK4xJdL_XJ-t@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikqQV9J++zStc9fr+XpmHU=ZWaZub1dFck6ZgF8@mail.gmail.com>

Thanks very much.

On Sat, Jan 15, 2011 at 3:26 AM, Dave Hylands <dhylands@gmail.com> wrote:

> Hi Cheng,
>
> On Fri, Jan 14, 2011 at 8:31 AM, cheng chen <freakrobot@acm.org> wrote:
> ...snip...
> > Thanks for your help, I understand the frameworks now.
> > But if I want to make the CAN driver(mcp251x.c) works on my own embedded
> > board, should do some work to make the SPI fit my hardware?
>
> You would need to implement the SPI driver using the SPI
> infrastructure so that the CAN driver can use it.
>
> See Documentation/spi directory for documentation on the SPI
> infrastructure.
>
> Dave Hylands
>



-- 
Cheng(?)

Fedora Project Contributor -- Ambassador
https://fedoraproject.org/wiki/User:Freakrobot
_______________________________________________

My Page: http://freakrobot.blogbus.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110115/aa37f74f/attachment.html 

      reply	other threads:[~2011-01-15  7:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 14:23 how CAN-bus Linux driver MCP251x.c works cheng chen
2011-01-14 15:28 ` Dave Hylands
2011-01-14 16:31   ` cheng chen
2011-01-14 19:26     ` Dave Hylands
2011-01-15  7:31       ` cheng chen [this message]

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='AANLkTinpATogey2sYmG-TZ=1J=mk=57OmK4xJdL_XJ-t@mail.gmail.com' \
    --to=freakrobot@acm.org \
    --cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).