Fixed NI_GPCT_CLOCK_SRC_SELECT_MASK to allow for PFI sources.
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 8 Jan 2007 21:10:07 +0000 (21:10 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 8 Jan 2007 21:10:07 +0000 (21:10 +0000)
include/linux/comedi.h

index a12688027e4fc6541afab5b0323b9b17b16e7bb4..db0ca899fd5e843757f2b41b1b160eb6c488c71a 100644 (file)
@@ -567,7 +567,7 @@ enum ni_gpct_mode_bits
  * INSN_CONFIG_SET_CLOCK_SRC when using NI general-purpose counters. */
 enum ni_gpct_clock_source_bits
 {
-       NI_GPCT_CLOCK_SRC_SELECT_MASK = 0x1f,
+       NI_GPCT_CLOCK_SRC_SELECT_MASK = 0x3f,
        NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS = 0x0,
        NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS = 0x1,
        NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS = 0x2,