Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
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
Mock Turtle
Commits
706811d7
Commit
706811d7
authored
Oct 14, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: g+w to sysfs attribute
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
82c65897
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mockturtle-core.c
software/kernel/mockturtle-core.c
+1
-1
mockturtle-cpu.c
software/kernel/mockturtle-cpu.c
+1
-1
mockturtle-hmq.c
software/kernel/mockturtle-hmq.c
+1
-1
No files found.
software/kernel/mockturtle-core.c
View file @
706811d7
...
...
@@ -178,7 +178,7 @@ static ssize_t reset_mask_store(struct device *dev,
DEVICE_ATTR
(
application_id
,
0444
,
application_id_show
,
NULL
);
DEVICE_ATTR
(
n_cpu
,
0444
,
n_cpu_show
,
NULL
);
DEVICE_ATTR
(
reset_mask
,
06
4
4
,
reset_mask_show
,
reset_mask_store
);
DEVICE_ATTR
(
reset_mask
,
06
6
4
,
reset_mask_show
,
reset_mask_store
);
static
struct
attribute
*
trtl_dev_attr
[]
=
{
&
dev_attr_application_id
.
attr
,
...
...
software/kernel/mockturtle-cpu.c
View file @
706811d7
...
...
@@ -138,7 +138,7 @@ static ssize_t reset_store(struct device *dev,
return
count
;
}
DEVICE_ATTR
(
reset
,
06
4
4
,
reset_show
,
reset_store
);
DEVICE_ATTR
(
reset
,
06
6
4
,
reset_show
,
reset_store
);
static
struct
attribute
*
trtl_cpu_attr
[]
=
{
&
dev_attr_reset
.
attr
,
...
...
software/kernel/mockturtle-hmq.c
View file @
706811d7
...
...
@@ -411,7 +411,7 @@ static ssize_t discard_all_store(struct device *dev,
return
count
;
}
DEVICE_ATTR
(
discard_all
,
02
0
0
,
NULL
,
discard_all_store
);
DEVICE_ATTR
(
discard_all
,
02
2
0
,
NULL
,
discard_all_store
);
/**
...
...
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