Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC TDC 1ns 5cha
Commits
15302e1e
Commit
15302e1e
authored
Jan 28, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: restore dacapo flag behavior
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
5cae24d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ft-irq.c
kernel/ft-irq.c
+7
-0
No files found.
kernel/ft-irq.c
View file @
15302e1e
...
@@ -120,6 +120,13 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
...
@@ -120,6 +120,13 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
ctrl
->
tstamp
.
bins
=
ts
.
frac
;
ctrl
->
tstamp
.
bins
=
ts
.
frac
;
ctrl
->
nsamples
=
1
;
ctrl
->
nsamples
=
1
;
/*
* In order to propagate the "dacapo" flag, we have to force our
* sequence number insted of using the ZIO one. decrement because
* zio will increment it.
*/
ctrl
->
seq_num
=
ts
.
seq_id
--
;
v
[
FT_ATTR_DEV_SEQUENCE
]
=
ts
.
gseq_id
;
v
[
FT_ATTR_DEV_SEQUENCE
]
=
ts
.
gseq_id
;
v
[
FT_ATTR_TDC_OFFSET
]
=
ft
->
calib
.
zero_offset
[
channel
-
1
];
v
[
FT_ATTR_TDC_OFFSET
]
=
ft
->
calib
.
zero_offset
[
channel
-
1
];
v
[
FT_ATTR_TDC_USER_OFFSET
]
=
st
->
user_offset
;
v
[
FT_ATTR_TDC_USER_OFFSET
]
=
st
->
user_offset
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment