On 1/27/15 8:23 AM, Bence Kovács wrote: > I have been trying to modify our pci driver to run on userspace too. > I prefixed the necessary pci functions with "rtapi_" as you suggested in a > previous email e.g. rtapi_pci_get_device. However, these functions are > undeclared in the rtapi header files in the 2.7 branch. I only found them > in the machinekit project. I also didn't find these functions in any of the > drivers. > > Could you please explain what do you mean under hostmot2-style PCI driver > registration that you mention in the wiki ( > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace)? > Thanks in advance!
Take a look at commit 67fe0c2c4a71d939a864fc14d649590aeeb0db26, which changes the hm2_pci driver to work with both uspace and rtai kernel-space builds. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers