From 4bf1ef53697cd6e5951f661c45de78f4fdc90fdc Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 5 Jan 2007 20:35:52 +0000 Subject: [PATCH] Changed value of NI_GPCT_DISABLED_GATE_SELECT so it plays nice with CR_CHAN macro, which I used in ni_tio.c --- include/linux/comedi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.26.2