On Fri, Jan 14, 2011 at 1:40 AM, Greg KH <greg@xxxxxxxxx> wrote:
On Fri, Jan 14, 2011 at 12:42:52AM +0800, cheng chen wrote:Oops, don't do that.
> Hi all,
> I am working on vehicle body control system with can-bus as my BE final
> project.
> It contains three parts.
>
> 1.CAN chip driver
> 2.CAN-bus protocol stack
> 3.UI
>
> The problem is that I already have written the CAN chip driver as Âa
> character device driver using IO-simulated SPI.
Use the in-kernel CAN protocol stack, that is much easier.
> So with this character driver API open() read() write() ioctl(), I start to
> wonder where can I put my protocol stack?
Yes.
> Or should rewrite the driver in network device frameworks?
thanks,
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Cheng(è)
Fedora Project Contributor -- Ambassador
_______________________________________________
My Page: http://freakrobot.blogbus.com/
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies