Re: how CAN-bus Linux driver MCP251x.c works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cheng,

On Fri, Jan 14, 2011 at 8:31 AM, cheng chen <freakrobot@xxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux