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
e2a0960f
Commit
e2a0960f
authored
Sep 10, 2012
by
root
Committed by
Samuel Iglesias Gonsálvez
Sep 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tdc: read ACAM status properly
Signed-off-by:
root
<
root@ostest.(none)
>
parent
18a76621
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
Makefile
drivers/Makefile
+4
-4
tdc-acam.c
drivers/tdc-acam.c
+1
-3
No files found.
drivers/Makefile
View file @
e2a0960f
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
#
LINUX ?= /lib/modules/$(shell uname -r)/build
#
LINUX ?= ../../kernel-3.5
LINUX
?=
../../kernel-3.5
ZIO
?=
$(HOME)
/de
pendencies
/zio
ZIO
?=
$(HOME)
/de
vel/cern
/zio
SPEC_SW
?=
$(HOME)
/de
pendencies
/spec-sw
SPEC_SW
?=
$(HOME)
/de
vel/cern
/spec-sw
KBUILD_EXTRA_SYMBOLS
:=
$(ZIO)
/Module.symvers
$(SPEC_SW)
/kernel/Module.symvers
KBUILD_EXTRA_SYMBOLS
:=
$(ZIO)
/Module.symvers
$(SPEC_SW)
/kernel/Module.symvers
...
...
drivers/tdc-acam.c
View file @
e2a0960f
...
@@ -36,9 +36,7 @@ u32 tdc_acam_status(struct spec_tdc *tdc)
...
@@ -36,9 +36,7 @@ u32 tdc_acam_status(struct spec_tdc *tdc)
{
{
/* Send the command to read acam status */
/* Send the command to read acam status */
writel
(
TDC_CTRL_READ_ACAM_STAT
,
tdc
->
base
+
TDC_CTRL_REG
);
writel
(
TDC_CTRL_READ_ACAM_STAT
,
tdc
->
base
+
TDC_CTRL_REG
);
return
readl
(
tdc
->
base
+
TDC_ACAM_RDBACK_REG_12
);
/* TODO: Where to read it? */
return
0
;
}
}
u32
tdc_acam_read_ififo1
(
struct
spec_tdc
*
tdc
)
u32
tdc_acam_read_ififo1
(
struct
spec_tdc
*
tdc
)
...
...
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