//static int cb_pcidda_ai_rinsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn,lsampl_t *data);
static int cb_pcidda_ao_winsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn,lsampl_t *data);
//static int cb_pcidda_ai_cmd(comedi_device *dev,comedi_subdevice *s);
-static int cb_pcidda_ai_cmdtest(comedi_device *dev,comedi_subdevice *s,
- comedi_cmd *cmd);
-static int cb_pcidda_ns_to_timer(unsigned int *ns,int round);
+//static int cb_pcidda_ai_cmdtest(comedi_device *dev,comedi_subdevice *s, comedi_cmd *cmd);
+//static int cb_pcidda_ns_to_timer(unsigned int *ns,int round);
static unsigned int cb_pcidda_serial_in(comedi_device *dev);
static void cb_pcidda_serial_out(comedi_device *dev, unsigned int value, unsigned int num_bits);
static unsigned int cb_pcidda_read_eeprom(comedi_device *dev, unsigned int address);
/*
* I will program this later... ;-)
- *
+ */
+#if 0
static int cb_pcidda_ai_cmd(comedi_device *dev,comedi_subdevice *s)
{
printk("cb_pcidda_ai_cmd\n");
printk("stop_arg: %d\n", cmd->stop_arg);
printk("chanlist_len: %d\n", cmd->chanlist_len);
}
-*/
+#endif
+#if 0
static int cb_pcidda_ai_cmdtest(comedi_device *dev,comedi_subdevice *s,
comedi_cmd *cmd)
{
return 0;
}
+#endif
/* This function doesn't require a particular form, this is just
* what happens to be used in some of the drivers. It should
* convert ns nanoseconds to a counter value suitable for programming
* the device. Also, it should adjust ns so that it cooresponds to
* the actual time that the device will use. */
+#if 0
static int cb_pcidda_ns_to_timer(unsigned int *ns,int round)
{
/* trivial timer */
return *ns;
}
+#endif
static int cb_pcidda_ao_winsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn,lsampl_t *data)
{
lsampl_t * data);
// NYI
+#if 0
static int ni_660x_GPCT_cmdtest(comedi_device *dev,comedi_subdevice *s,
comedi_cmd *cmd);
static int ni_660x_GPCT_cmd(comedi_device *dev,comedi_subdevice *s);
+#endif
/* Possible instructions for Digital IO */
static int ni_660x_dio_insn_config(comedi_device *dev,
comedi_insn *insn,
lsampl_t *data);
+#if 0
static int ni_660x_GPCT_cmdtest(comedi_device *dev,comedi_subdevice *s,
comedi_cmd *cmd)
{
DPRINTK("NI_660X: COMMANDS not implemented yet for GPCT\n");
return -EINVAL;
}
+#endif
static NI_660x_Register ni_gpct_to_660x_register(enum ni_gpct_register reg)
{
static int ni_tio_input_cmd(struct ni_gpct *counter, comedi_async *async)
{
struct ni_gpct_device *counter_dev = counter->counter_dev;
- comedi_cmd *cmd = &async->cmd;
+ //comedi_cmd *cmd = &async->cmd;
const unsigned command_reg = NITIO_Gi_Command_Reg(counter->counter_index);
/* write alloc the entire buffer */
int channel, int minor);
static int __unioxx5_digital_read(unioxx5_subd_priv* usp, lsampl_t* data,
int channel, int minor);
-static void __unioxx5_digital_config(unioxx5_subd_priv* usp, int mode);
+//static void __unioxx5_digital_config(unioxx5_subd_priv* usp, int mode);
static int __unioxx5_analog_write(unioxx5_subd_priv* usp, lsampl_t* data,
int channel, int minor);
static int __unioxx5_analog_read(unioxx5_subd_priv* usp, lsampl_t* data,
return 1;
}
+#if 0 /* not used? */
static void __unioxx5_digital_config(unioxx5_subd_priv* usp, int mode)
{
int i, mask;
outb(0, usp->usp_iobase + 0);
}
+#endif
static int __unioxx5_analog_write(unioxx5_subd_priv* usp, lsampl_t* data,
int channel, int minor)