Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
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
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 ADC 100M 14b 4cha - Software
Commits
2e0da081
Commit
2e0da081
authored
Jul 16, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: declare zio minimum version
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
d75b5869
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
Makefile
Makefile
+2
-0
Makefile
kernel/Makefile
+3
-0
fa-zio-drv.c
kernel/fa-zio-drv.c
+5
-0
zio
zio
+1
-1
No files found.
Makefile
View file @
2e0da081
...
...
@@ -28,6 +28,8 @@ CURDIR ?= $(shell pwd)
FMC_BUS
?=
$(CURDIR)
/fmc-bus
export
FMC_BUS
ZIO
?=
$(CURDIR)
/zio
ZIO_VERSION
=
$(
shell
cd
$(ZIO)
;
git describe
--always
--dirty
--long
--tags
)
export
ZIO_VERSION
SPEC_SW
?=
$(CURDIR)
/spec-sw
SUBMOD
=
$(FMC_BUS)
$(ZIO)
$(SPEC_SW)
...
...
kernel/Makefile
View file @
2e0da081
...
...
@@ -29,6 +29,9 @@ ccflags-y += -DGIT_VERSION=\"$(GIT_VERSION)\" \
ccflags-$(CONFIG_FMC_ADC_DEBUG)
+=
-DDEBUG
ccflags-$(CONFIG_FMC_ADC_SVEC)
+=
-DCONFIG_FMC_ADC_SVEC
# Extract ZIO minimum compatible version
ccflags-y
+=
-D__ZIO_MIN_MAJOR_VERSION
=
$(
shell
echo
$(ZIO_VERSION)
|
cut
-d
'-'
-f
2 |
cut
-d
'.'
-f
1
;
)
ccflags-y
+=
-D__ZIO_MIN_MINOR_VERSION
=
$(
shell
echo
$(ZIO_VERSION)
|
cut
-d
'-'
-f
2 |
cut
-d
'.'
-f
2
;
)
subdirs-ccflags-y
=
$
(
ccflags-y
)
...
...
kernel/fa-zio-drv.c
View file @
2e0da081
...
...
@@ -518,6 +518,11 @@ static struct zio_driver fa_zdrv = {
.
id_table
=
zfad_table
,
.
probe
=
zfad_zio_probe
,
.
remove
=
zfad_zio_remove
,
/* Take the version from ZIO git sub-module */
.
min_version
=
ZIO_VERSION
(
__ZIO_MIN_MAJOR_VERSION
,
__ZIO_MIN_MINOR_VERSION
,
0
),
/* Change it if you use new features from
a specific patch */
};
...
...
zio
@
3d9cee91
Subproject commit
2a5f4220fe0c3711e5690e2797d58257208a4df5
Subproject commit
3d9cee9193c7e30773747a281c6330c0b5a11439
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