Re: How to design protocol stack with can-bus driver of character driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Jan 13, 2011 at 6:42 PM, cheng chen <freakrobot@xxxxxxx> wrote:
> 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.
> So with this character driver API open() read() write() ioctl(), I start to
> wonder where can I put my protocol stack?
> Or should rewrite the driver in network device frameworks?

I strongly recommend you to have a look at Socket CAN ([1]).

thanks,
Daniel.

[1] http://lxr.linux.no/linux+v2.6.37/Documentation/networking/can.txt

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux