This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001439] can_lpc2xxx.c:CYGOPT_DEVS_CAN_CAN_LPC2XXX_LUT_ERR_SUPP problems


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]