how CAN-bus Linux driver MCP251x.c works
From: cheng chen <hidden>
Date: 2011-01-15 07:31:20
Thanks very much. On Sat, Jan 15, 2011 at 3:26 AM, Dave Hylands [off-list ref] wrote:
Hi Cheng, On Fri, Jan 14, 2011 at 8:31 AM, cheng chen [off-list ref] wrote: ...snip...quoted
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