RFC: CANbus subsytem for 2.6 kernel (char or netdev)
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?
Signature · 2 lines
Regards Andrey Volkov.
Quoted 4 lines
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
Quoted 8 lines · Benedikt Spranger
Quoted 1 line
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.diffBene
Quoted 8 lines · Andrey Volkov
Quoted 7 lines · Benedikt Spranger
Quoted 3 lines
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
Signature · 5 lines
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