Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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 - Software
Commits
63c322a0
Commit
63c322a0
authored
Mar 25, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: software fix for VHDL problem IRQ coalescing
Signed-off-by:
Federico vaga
<
federico.vaga@cern.ch
>
parent
334d7f52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ft-irq.c
kernel/ft-irq.c
+4
-2
No files found.
kernel/ft-irq.c
View file @
63c322a0
...
...
@@ -344,9 +344,11 @@ int ft_irq_init(struct fmctdc_dev *ft)
tasklet_init
(
&
ft
->
readout_tasklet
,
ft_readout_tasklet
,
(
unsigned
long
)
ft
);
/* FIXME coalescing is not working on VHDL side, set to 1 timestamp
and 1 milliseconds can fix the problem (no coalescing) */
/* IRQ coalescing: 40 timestamps or 40 milliseconds */
ft_writel
(
ft
,
40
,
TDC_REG_IRQ_THRESHOLD
);
ft_writel
(
ft
,
40
,
TDC_REG_IRQ_TIMEOUT
);
ft_writel
(
ft
,
1
,
TDC_REG_IRQ_THRESHOLD
);
ft_writel
(
ft
,
1
,
TDC_REG_IRQ_TIMEOUT
);
/* enable timestamp readout IRQ */
fmc_writel
(
ft
->
fmc
,
TDC_IRQ_TDC_TSTAMP
|
TDC_IRQ_TDC_TIME
,
...
...
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