projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf417e
)
Changed value of NI_GPCT_DISABLED_GATE_SELECT so it plays nice with
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 5 Jan 2007 20:35:52 +0000
(20:35 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 5 Jan 2007 20:35:52 +0000
(20:35 +0000)
CR_CHAN macro, which I used in ni_tio.c
include/linux/comedi.h
patch
|
blob
|
history
diff --git
a/include/linux/comedi.h
b/include/linux/comedi.h
index 72363ec97e6576fadbc2b3a99529c75e7e7d86b5..a12688027e4fc6541afab5b0323b9b17b16e7bb4 100644
(file)
--- 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)
{