Hi,

On Thu, Oct 1, 2009 at 9:43 AM, Wolfgang Grandegger <[email protected]> wrote:
>
> We clarified the bus-off handling recently for devices doing bus-off
> recovery automatically. If "restart-ms==0", the device shall be stopped
> on bus-off and can_bus_off() called subsequently. Otherwise the hardware
> is allowed to recover from bus-off automatically. If that happens, the
> "RESTARTED" error message shall be sent and the "can_stats.restarts"
> variable shall be incremented. Have a look to the at91_can driver for
> further details.
>

I'll work out a patch in the next couple of days to implement this behavior.

>
> static struct can_bittiming_const mcp251x_bittiming_const = {
>        .name = DEVICE_NAME; /* is missing !!! */

ack.


-- 
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

Reply via email to