> > Use the driver "mcp2515" instead of "mcp251x" in order to test the async > driver. They can be both compiled as modules, just load the driver you > want to use. > > _note_: > the mcp2515 doesn't support the callback to phy, power and init yet >
I tried to use the mcp2515 driver but ran into some trouble. The driver is recognized and I can see can0 with "ifconfig -a" but when I try to send a CAN message it crashes and I have to reset the board. I think my problem is coming from not setting up the irq correctly. It is set in the .board_specific_setup in mcp251x_platform_data from GPIO but mcp2515.c never calls .board_specific and when the mcp2515 registers the irq is 0. How do I setup the irq? Thank You -- Jargalan Nermunkh Critical Link, LLC
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
