Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
c2fd12f2
Commit
c2fd12f2
authored
Jul 10, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: fix capability mask
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
c82a4008
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
spec-core-fpga.c
software/kernel/spec-core-fpga.c
+8
-0
spec.h
software/kernel/spec.h
+0
-5
No files found.
software/kernel/spec-core-fpga.c
View file @
c2fd12f2
...
...
@@ -64,6 +64,14 @@ enum spec_fpga_therm_offsets {
SPEC_FPGA_THERM_TEMP
=
SPEC_FPGA_MEM_THERM_START
+
0x8
,
};
enum
spec_fpga_meta_cap_mask
{
SPEC_META_CAP_VIC
=
BIT
(
0
),
SPEC_META_CAP_THERM
=
BIT
(
1
),
SPEC_META_CAP_SPI
=
BIT
(
2
),
SPEC_META_CAP_WR
=
BIT
(
3
),
};
static
const
struct
debugfs_reg32
spec_fpga_debugfs_reg32
[]
=
{
{
.
name
=
"Application offset"
,
...
...
software/kernel/spec.h
View file @
c2fd12f2
...
...
@@ -73,11 +73,6 @@ enum {
#define SPEC_META_BOM_VER_MASK 0x0000FFFF
#define SPEC_META_VERSION_MASK 0xFFFF0000
#define SPEC_META_VERSION_1_4 0x01040000
#define SPEC_META_CAP_VIC BIT(0)
#define SPEC_META_CAP_THERM BIT(0)
#define SPEC_META_CAP_SPI BIT(0)
#define SPEC_META_CAP_DMA BIT(0)
#define SPEC_META_CAP_WR BIT(0)
/**
* struct spec_meta_id Metadata
...
...
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