On 02/06/2011 05:04 AM, andy pugh wrote: > The EMC2 Hostmot2 drivers already abstract between PCI and Parport > interfaces, adding RTUSB seems plausible, if non-trivial.
Adding new communication-with-the-fpga interfaces to hostmot2 should be easy. The hostmot2 driver abstracts the communications between the pc and the fpga in the "Low-level I/O" (LLIO) layer. An LLIO driver detects its AnyIO boards and makes an hm2_lowlevel_io_t struct for each one (from hostmot2-lowlevel.h). It registers these structs with the higher-level hostmot2 driver by calling hm2_register(). The struct provides a read/write interface to the register file on the fpga and some other information about the board. The nomenclature is maybe not as clear as it could be, but the two existing LLIO drivers are in hm2_7i43 (for epp) and hm2_pci (for pci and pci-express). To talk to an AnyIO board over USB or Ethernet, someone would have to write an hm2_usb or hm2_ethernet module, which would detect the AnyIO board(s) and provide this interface to them. This in turn would require access to the local USB or Ethernet controller from within rtai. -- Sebastian Kuzminsky and the young people ask me, what are they marching for? -- Eric Bogle ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
