Kurt Van Dijck wrote:
> On Thu, Sep 10, 2009 at 04:59:37PM +0200, Kurt Van Dijck wrote:
>> [...]
>>>> I was in the process of preparing a patch with alternate approach.
>>> I started to implement the alloc_candev(int sizeof_priv, int
>>> echo_skb_max), which is quit simple. Any alternate approach is welcome,
>>> of course.
>>>
>> By trying that, I proved myself being wrong.
>> adding an extra function call keeps the existing function proper,
>> but in the end, drivers just need updating
>> Trying your approach in the end is
>> simpler in coding, just extra docs.
>>
>> I attached my work, maybe you find it usefull :-).
>> it compiles, I _believe_ it would run.
> 
> Note I forgot to remove my initial trial of
> candev_set_echo_skb_max() function.
> You can look at it for to understand my initial approach.

OK, what I have so far is quite similar to your patch.

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

Reply via email to