[Canbus4linux-developers] Re: RFC: CAN for 2.6 kernel subsystem: net or char device
Status: Beta
Brought to you by:
j_eder
From: <je...@ar...> - 2005-03-15 20:21:54
|
Hi Andrey, this was my first device driver I've written and the only reason was, that a netdev driver was more complex as a char dev driver. Also I think a netdev driver is not the correct way to handle CAN messages (you can setup IP addresses with ifconfig ?!). But if you want to handle TCP messages over CAN, than I think a netdev driver is the first choice. regards J=FCrgen Am Dienstag, den 15.03.2005, 12:41 +0300 schrieb Andrey Volkov: > Hello, Jurgen >=20 > I look through your code (and not only your), and have, may be strange,= =20 > next question: >=20 > May be you, could told me why everyone who wrote CANbus driver (you,=20 > peak, kvaser etc) always use char dev, but not netdev for it? May be=20 > exist some global pitfall, which I couldn't see, to use netdev? >=20 > -- > Regards > Andrey. >=20 > P.S. My job on MPC5200 CAN in progress (chip part nearly to be done), > but I stopped above problem. >=20 |