![]() | |||||||||||||
Messages in this thread |
All, I'm looking for some information about a CAN driver and how it might nterface to an SPI port of the PPC 875 processor. I am new to the linux world and am trying to write a CAN device driver that uses SPI to communicate to the external CAN chip. The latest kernel has some CAN and SPI support. I am beginning to put some of the pieces together on how these work, but It's new to me how these are truly instantiated and implemented in the kernel. Does anyone know of a white paper or any documentation that may explain the general process of a network device driver installation? (I do know that the CAN driver is considered a network interface, not a "char" or "block" interface.) What is the order of steps to initialize the SPI driver? I'm guessing the SPI driver need to be initialized before it can detect the presents of the CAN chip. Does the CAN driver try to talk to the CAN chip via SPI to determine its existance? These are the questions I'm hoping to fill in. I have been reading the O'reilly book on device drivers...this helps some.....but any other real world help would be appreciated. Thank-you, Mike Michael Johnson American Power Conversion 132 Fairgrounds Road West Kingston, RI 02892 tele: (401) 789 - 5735 x2982 http://www.apc.com http://www.netbotz.com http://www.datacenteruniversity.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-04-14 14:41 [from the cache] ©2003-2008 | |||||||||||||