On Thu, Apr 8, 2010 at 4:58 PM, Lei Luo <[email protected]> wrote:
> I added can definitions into board-dk.c. When I "modprobe mcp251x", it shows > "CAN device driver interface" in console, mcp251x modules is loaded as can > be seen from "lsmod". But I can't find can device files such as "can0, can1, > ..." and there is no can infomation in "ip link show". > Is something I did wrong? Or the device files of can should not created > automaticly as they are connected with spi? If you don't see "probed" or "not probed" the mcp251x probe code is not called. So, have you done an at91_add_device_spi of the dk_spi_devices you defined? Do you have a working SPI master driver? -- Christian Pellegrin, see http://www.evolware.org/chri/ "Real Programmers don't play tennis, or any other sport which requires you to change clothes. Mountain climbing is OK, and Real Programmers wear their climbing boots to work in case a mountain should suddenly spring up in the middle of the computer room." _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
