On 07/19/2011 09:01 PM, Wolfgang Grandegger wrote: >>> Safe to assume that the flexcan driver doesn't support loopback as described >>> then?
Yes but no....The flexcan driver unsets a bit in the can-core that the send frames are received, too. Look for SRX_DIS in your driver. >>> http://lxr.linux.no/#linux+v2.6.39/Documentation/networking/can.txt#L580 >> >> Yes. Sigh. >> >> So this can be temporarily fixed by removing the line which sets IFF_ECHO ... >> but of course should be fixed by implementing the can_echo_skb stuff. > >>> dev->flags |= IFF_ECHO; /* we support local echo in hardware */ > > IIRC, loopback is really done in hardware and the driver is working > properly on ARM processors. Yes. >> Thanks for testing! >> >> I enhanced the mail subject to wake up the maintainers ;-) maintainer was at a $CUSTOMER's, which usual customer like, what they call internet, and busy working :). Three developer looking over maintainer's shoulders - hunting down hardware bugs :) (successfully \o/) Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
