Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
91c45210
Commit
91c45210
authored
Nov 26, 2019
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "TEST ONLY: crash hal if illegal memory write happens"
This reverts commit
23c57912
.
parent
00ad7eac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
hal_ports.c
userspace/wrsw_hal/hal_ports.c
+0
-5
No files found.
userspace/wrsw_hal/hal_ports.c
View file @
91c45210
...
...
@@ -297,11 +297,6 @@ int pcs_writel(struct hal_port_state *ps, uint16_t value, int reg)
strncpy
(
ifr
.
ifr_name
,
ps
->
name
,
sizeof
(
ifr
.
ifr_name
));
if
(
reg
==
0x13
&&
value
==
0x4000
)
{
*
(
volatile
int
*
)(
0xdeadbeef
)
=
0
;
}
rv
=
NIC_WRITE_PHY_CMD
(
reg
,
value
);
ifr
.
ifr_data
=
(
void
*
)
&
rv
;
if
(
ioctl
(
halPorts
.
hal_port_fd
,
PRIV_IOCPHYREG
,
&
ifr
)
<
0
)
...
...
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