From: Frank Mori Hess Date: Fri, 5 Jan 2007 20:35:52 +0000 (+0000) Subject: Changed value of NI_GPCT_DISABLED_GATE_SELECT so it plays nice with X-Git-Tag: r0_7_74~122 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bf1ef53697cd6e5951f661c45de78f4fdc90fdc;p=comedi.git Changed value of NI_GPCT_DISABLED_GATE_SELECT so it plays nice with CR_CHAN macro, which I used in ni_tio.c --- diff --git a/include/linux/comedi.h b/include/linux/comedi.h index 72363ec9..a1268802 100644 --- a/include/linux/comedi.h +++ b/include/linux/comedi.h @@ -616,8 +616,9 @@ enum ni_gpct_gate_select /* more gates for 660x "second gate" */ NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT = 0x201, NI_GPCT_SELECTED_GATE_GATE_SELECT = 0x21e, - /* m-series "second gate" sources are unknown */ - NI_GPCT_DISABLED_GATE_SELECT = 0x10000, + /* m-series "second gate" sources are unknown, + we should add them here with an offset of 0x300 when known. */ + NI_GPCT_DISABLED_GATE_SELECT = 0x8000, }; static inline unsigned NI_GPCT_GATE_PIN_GATE_SELECT(unsigned n) {