From: David Schleef Date: Mon, 5 Feb 2001 02:07:59 +0000 (+0000) Subject: added command support X-Git-Tag: r0_7_56~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3269dfc168d80ef4c3c22fc45e3d4459ceaac59;p=comedi.git added command support --- diff --git a/comedi/kcomedilib/ksyms.c b/comedi/kcomedilib/ksyms.c index 4ca27a8a..8ff0870b 100644 --- a/comedi/kcomedilib/ksyms.c +++ b/comedi/kcomedilib/ksyms.c @@ -79,8 +79,8 @@ EXPORT_SYMBOL(comedi_get_n_ranges); //EXPORT_SYMBOL(comedi_maxdata_is_chan_specific); EXPORT_SYMBOL(comedi_cancel); EXPORT_SYMBOL(comedi_trigger); -//EXPORT_SYMBOL(comedi_command); -//EXPORT_SYMBOL(comedi_command_test); +EXPORT_SYMBOL(comedi_command); +EXPORT_SYMBOL(comedi_command_test); //EXPORT_SYMBOL(comedi_do_insnlist); EXPORT_SYMBOL(comedi_do_insn); EXPORT_SYMBOL(comedi_lock); diff --git a/include/linux/comedilib.h b/include/linux/comedilib.h index 78f97d76..da6228c5 100644 --- a/include/linux/comedilib.h +++ b/include/linux/comedilib.h @@ -61,6 +61,8 @@ int comedi_cancel(unsigned int minor,unsigned int subdev); int comedi_register_callback(unsigned int minor,unsigned int subdev, unsigned int mask,int (*cb)(unsigned int,void *),void *arg); +int comedi_command(unsigned int minor,comedi_cmd *cmd); +int comedi_command_test(unsigned int minor,comedi_cmd *cmd); int comedi_trigger(unsigned int minor,unsigned int subdev,comedi_trig *it); int __comedi_trigger(unsigned int minor,unsigned int subdev,comedi_trig *it); int comedi_data_write(unsigned int dev,unsigned int subdev,unsigned int chan,