On 17.02.2011 20:23, Wolfgang Grandegger wrote:
> On 02/16/2011 09:31 PM, Oliver Hartkopp wrote:
>> On 16.02.2011 21:04, Wolfgang Grandegger wrote:
> ...
> 
>>>>> We then could or even should add a version information into the error
>>>>> message. I think data[5] could be used for that purpose.
>>>>
>>>> It's like having the CAN core version information where Dave was 
>>>> complaining
>>>> when it gone Mainline. Who should check version numbers and maintain all 
>>>> this?
>>>
>>> This would allow users already using the error flags to easily migrate
>>> to the new and changed error types. My idea here is:
>>>
>>>     cf->data[5] = CAN_ERR_VERSION;
>>>
>>> Also candump could use it to avoid displaying rubbish with old kernels.
>>
>> Hm - maybe then it's better to retrieve the Kernel version with uname(2) ...
> 
> The does not clearly identify the version of the error message, e..g
> when drivers from BerliOS are used.
> 

How much do we care for the BerliOS drivers?

There are some drivers that are currently not really maintained (e.g. the
EMS_PCMCIA driver). Assumed that we clean up the error.h definitions for
2.6.39 - how relevant are drivers in the BerliOS SVN for Kernels >= 2.6.39 ?

Regards,
Oliver


_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to