This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001439] can_lpc2xxx.c:CYGOPT_DEVS_CAN_CAN_LPC2XXX_LUT_ERR_SUPP problems
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Thu, 5 Jan 2012 13:03:21 +0000
- Subject: [Bug 1001439] can_lpc2xxx.c:CYGOPT_DEVS_CAN_CAN_LPC2XXX_LUT_ERR_SUPP problems
- Auto-submitted: auto-generated
- References: <bug-1001439-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001439
--- Comment #1 from Bernard Fouchà <bernard.fouche@kuantic.com> 2012-01-05 13:03:19 GMT ---
The bug is more subtle: the loop:
...
while (lpc2xxx_global_can_info.active_channels[i])
...
will forbid processing of CAN channels that are not sequential from zero. For
instance if you only activate /dev/can1 and not /dev/can0, since
lpc2xxx_global_can_info.active_channels[0] is zero, the loop stops here and
/dev/can1 isn't processed. Being replaced by a 'for()' loop in updated driver.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.