Hello, all
I look through code of exist CANbus drivers, and have, may be strange,
next question:
Anyone could told me, why everyone, who wrote CANbus driver (peak,
kvaser etc) always use char dev, but not netdev for it? May be exist
some global pitfall, which I couldn't see, which prevent to use netdev?
--
Regards
Andrey Volkov.
> Anyone could told me, why everyone, who wrote CANbus driver (peak,
> kvaser etc) always use char dev, but not netdev for it? May be exist
> some global pitfall, which I couldn't see, which prevent to use netdev?
Maybe you try out:
http://www.linutronix.de/data/linux-2.6.11-can.diff
Bene
Hi Benedikt,
Yes, thanks, very close to what about I thinking :),
but are you measure overhead of netdev (it disturb me)?
Andrey
Benedikt Spranger wrote:
>>Anyone could told me, why everyone, who wrote CANbus driver (peak,
>>kvaser etc) always use char dev, but not netdev for it? May be exist
>>some global pitfall, which I couldn't see, which prevent to use netdev?
>
>
> Maybe you try out:
> http://www.linutronix.de/data/linux-2.6.11-can.diff
>
> Bene
>
On Tue, Mar 15, 2005 at 02:52:39PM +0300, Andrey Volkov wrote:
> Benedikt Spranger wrote:
> >>Anyone could told me, why everyone, who wrote CANbus driver (peak,
> >>kvaser etc) always use char dev, but not netdev for it? May be exist
> >>some global pitfall, which I couldn't see, which prevent to use netdev?
> >
> >
> >Maybe you try out:
> >http://www.linutronix.de/data/linux-2.6.11-can.diff
We have a newer version of this patch which we are currently making
ready for upstream.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9