From 0585f37b44fec88fa167bae9bcecbc6b122babce Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 16 Jan 2006 15:02:29 +0000 Subject: [PATCH] Patch from abbotti@mev.co.uk (Ian Abbott) which makes external input the default source for counter channel 0. --- comedi/drivers/adv_pci1710.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/adv_pci1710.c b/comedi/drivers/adv_pci1710.c index 5a33a6e5..f0239c77 100644 --- a/comedi/drivers/adv_pci1710.c +++ b/comedi/drivers/adv_pci1710.c @@ -1157,7 +1157,7 @@ static int pci171x_reset(comedi_device *dev) { DPRINTK("adv_pci1710 EDBG: BGN: pci171x_reset(...)\n"); outw(0x30, dev->iobase + PCI171x_CNTCTRL); - devpriv->CntrlReg=Control_SW; // Software trigger, CNT0=100kHz + devpriv->CntrlReg=Control_SW | Control_CNT0; // Software trigger, CNT0=external outw(devpriv->CntrlReg, dev->iobase+PCI171x_CONTROL); // reset any operations outb(0, dev->iobase + PCI171x_CLRFIFO); // clear FIFO outb(0, dev->iobase + PCI171x_CLRINT); // clear INT request -- 2.26.2