On Tue, Jul 29, 2014 at 08:27:04AM +0200, Marius Liebenberg wrote:
> Thanks a lot guys. A lot of information as usual. I am very proud to be 
> part of this community of very clever and helpful people.
> I will no doubt have lot to ask at a later stage about this topic. I 
> have a lot of code to go scan and reading up to do.
> Any suggestions as to where to start. What is the simplest driver to 
> look at for now?

The only driver in LinuxCNC that uses ethernet is the one for Mesa's
7i80 card.  It's in src/hal/drivers/mesa-hostmot2; the code that's
concerned with ethernet cards is in the file hm2_7i80.c (631 lines),
though it will require some understanding of the common parts of the
hostmot2 driver, e.g., hostmot2.c (1643 lines), tram.c (212 lines)
organizing the data to be read or written, and ioport.c (595 lines)
managing simple digital I/O pins might be a minimum to read to
understand the full story of how digital I/O pins work on hostmot2.
Then it will be easier to understand other parts of hostmot2 like pwm,
counter, and step generator (various other files), the things that
really make hostmot2 interesting...

Jeff

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to