Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - 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 DEL 1ns 4cha - Software
Commits
7921d497
Commit
7921d497
authored
Oct 30, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/fd-irq: properly configure the fifo irq register
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
e0ff432c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
fd-irq.c
kernel/fd-irq.c
+9
-2
No files found.
kernel/fd-irq.c
View file @
7921d497
...
...
@@ -288,8 +288,15 @@ int fd_irq_init(struct fd_dev *fd)
fmc
->
op
->
irq_request
(
fmc
,
fd_irq_handler
,
"fine-delay"
,
IRQF_SHARED
);
/* Then, configure hardware: fd, then vic, finally carrier */
/*
* Then, configure the hardware: first fine delay,
* then vic, and finally the carrier
*/
/* current VHDL has a buglet: timeout is 8ns, not 1ms each */
fd_writel
(
fd
,
FD_TSBIR_TIMEOUT_W
(
10
)
/* should be ms */
|
FD_TSBIR_THRESHOLD_W
(
15
),
/* samples */
FD_REG_TSBIR
);
fd_writel
(
fd
,
FD_EIC_IER_TS_BUF_NOTEMPTY
,
FD_REG_EIC_IER
);
/* 4us edge emulation timer (counts in 16ns steps) */
...
...
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