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