Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advLigoRTS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CDS
software
advLigoRTS
Commits
4cc2d1e4
Commit
4cc2d1e4
authored
2 years ago
by
Ezekiel Dohmen
Browse files
Options
Downloads
Patches
Plain Diff
Fixing bad error check, and fixing module symvers path
parent
a19dae6f
No related branches found
Branches containing commit
No related tags found
2 merge requests
!439
RCG 5.0 release fro deb 10
,
!367
Build Reorganization Total
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/epics/util/Makefile.kernel
+2
-2
2 additions, 2 deletions
src/epics/util/Makefile.kernel
src/epics/util/lib/createKernelMakefile.pm
+3
-2
3 additions, 2 deletions
src/epics/util/lib/createKernelMakefile.pm
src/fe/dolphin.c
+1
-1
1 addition, 1 deletion
src/fe/dolphin.c
with
6 additions
and
5 deletions
src/epics/util/Makefile.kernel
+
2
−
2
View file @
4cc2d1e4
...
...
@@ -71,9 +71,9 @@ IOP_EXTRA_OBJ += src/include/drv/ligoPcieTiming.o
IOP_EXTRA_OBJ
+=
src/include/drv/plx_9056.o
IOP_EXTRA_OBJ
+=
src/include/drv/spectracomGPS.o
ifdef
DOLPHIN
_TEST
ifdef
BUILD_WITH_
DOLPHIN
IOP_EXTRA_OBJ
+=
src/fe/dolphin.o
endif
#DOLPHIN
_TEST
endif
#
BUILD_WITH_
DOLPHIN
#
# Virtual IO (VIO) / Dolphin Timing special DAC ADC functions
...
...
This diff is collapsed.
Click to expand it.
src/epics/util/lib/createKernelMakefile.pm
+
3
−
2
View file @
4cc2d1e4
...
...
@@ -25,7 +25,7 @@ if ($::dolphin_time_xmit > -1) {
}
if
(
$
::
virtualiop
!=
1
)
{
if
(
$
::
pciNet
>
0
)
{
print
OUTM
"
DOLPHIN
_TEST
:=1
\n
";
print
OUTM
"
BUILD_WITH_
DOLPHIN:=1
\n
";
}
}
...
...
@@ -165,7 +165,8 @@ if ($::iopModel > -1) { #************ SETUP FOR IOP ***************
if
(
$
::
dolphinGen
==
2
)
{
print
OUTM
"
#Enable use of PCIe RFM Network Gen 2
\n
";
print
OUTM
"
DISDIR = /opt/srcdis
\n
";
print
OUTM
"
KBUILD_EXTRA_SYMBOLS +=
\$
(DISDIR)/src/SCI_SOCKET/ksocket/LINUX/Module.symvers
\n
";
print
OUTM
"
KERNEL_RELEASE :=
\$
(shell uname -r)
\n
";
print
OUTM
"
KBUILD_EXTRA_SYMBOLS += /opt/DIS/lib/modules/
\$
(KERNEL_RELEASE)/dis_sisci.symvers
\n
";
print
OUTM
"
EXTRA_CFLAGS += -DOS_IS_LINUX=1 -D_DIS_KERNEL_=1 -I
\$
(DISDIR)/src/IRM_GX/drv/src -I
\$
(DISDIR)/src/IRM_GX/drv/src/LINUX -I
\$
(DISDIR)/src/include -I
\$
(DISDIR)/src/include/dis -I
\$
(DISDIR)/src/COMMON/osif/kernel/include -I
\$
(DISDIR)/src/COMMON/osif/kernel/include/LINUX -DDOLPHIN_TEST=1 -DDIS_BROADCAST=0x80000000
\n
";
}
else
{
print
OUTM
"
#Enable use of PCIe RFM Network Gen 1
\n
";
...
...
This diff is collapsed.
Click to expand it.
src/fe/dolphin.c
+
1
−
1
View file @
4cc2d1e4
...
...
@@ -41,7 +41,7 @@ session_callback( session_cb_arg_t IN arg,
/// @brief This function contains the required Dolphin callback routine. \n
// printl("Session callback reason=%d status=%d target_node=%d\n", reason,
// status, target_node); if (reason == SR_OK) iop_rfm_valid = 1;
if
(
reason
==
SR_OK
||
status
==
SR_
OK
)
if
(
reason
==
SR_OK
||
status
==
SR_
NONE
)
//TODO: This does not seem like a good check, we could pass if reason has an error and status is SR_NONE
iop_rfm_valid
=
1
;
else
iop_rfm_valid
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment