Re: [PATCH v4 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-04-09 Thread Martin Elshuber
ce receives a frame from the host when in bus-off (e.g.:    just after detecting the condition) the device confirms reception by    sending an TX_COMPLETE with and error indicator and drops the frame.    Finally the driver calls can_free_echo_skb() upon reception of the    TX_COMPLETE message (see ucan_tx

Re: [PATCH v4 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-04-09 Thread Martin Elshuber
ce receives a frame from the host when in bus-off (e.g.:    just after detecting the condition) the device confirms reception by    sending an TX_COMPLETE with and error indicator and drops the frame.    Finally the driver calls can_free_echo_skb() upon reception of the    TX_COMPLETE message (see ucan_tx

Re: [PATCH v3 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-27 Thread Martin Elshuber
300{ > > 301if (msg->id & CAN_RTR_FLAG) >302return get_can_dlc(msg->dlc); >303else >304return get_can_dlc(len - (UCAN_IN_HDR_SIZE + > sizeof(msg->id))); >

Re: [PATCH v3 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-27 Thread Martin Elshuber
300{ > > 301if (msg->id & CAN_RTR_FLAG) >302return get_can_dlc(msg->dlc); >303else >304return get_can_dlc(len - (UCAN_IN_HDR_SIZE + > sizeof(msg->id))); >

Re: [PATCH v3 0/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-27 Thread Martin Elshuber
> this work: > > [   67.792947] usb 5-1.4: ucan_probe: registered UCAN device at can0 > > I'll take a closer look. > > Thanks, > Jakob -- Martin Elshuber Theobroma Systems Design und Consulting GmbH Seestadtstraße 27 (Aspern IQ), 1220 Wien, Austria Phone: +43 1 236 98 93-405, Fax: +43 1 236 98 93-9 http://www.theobroma-systems.com signature.asc Description: OpenPGP digital signature

Re: [PATCH v3 0/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-27 Thread Martin Elshuber
> this work: > > [   67.792947] usb 5-1.4: ucan_probe: registered UCAN device at can0 > > I'll take a closer look. > > Thanks, > Jakob -- Martin Elshuber Theobroma Systems Design und Consulting GmbH Seestadtstraße 27 (Aspern IQ), 1220 Wien, Austria Phone: +43 1 236 98 93-405, Fax: +43 1 236 98 93-9 http://www.theobroma-systems.com signature.asc Description: OpenPGP digital signature