Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
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
Software for White Rabbit PTP Core
Commits
dd3c2c62
Commit
dd3c2c62
authored
Apr 14, 2023
by
Omar Gabella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FULL std WR in BROADCAST_BASE
parent
04c17945
Pipeline
#4421
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
endpoint.c
dev/endpoint.c
+4
-4
wrc_main.c
wrc_main.c
+1
-1
No files found.
dev/endpoint.c
View file @
dd3c2c62
...
...
@@ -148,10 +148,10 @@ int ep_link_up(uint16_t * lpa)
uint16_t
flags
=
MDIO_MSR_LSTATUS
;
volatile
uint16_t
msr
;
#ifdef BROADCAST
/* Autonegotiation disabled by default in broadcast mode */
autoneg_enabled
=
((
uint16_t
)
pcs_read
(
MDIO_REG_MCR
)
&
(
0x1000
));
#endif
//
#ifdef BROADCAST
//
/* Autonegotiation disabled by default in broadcast mode */
//
autoneg_enabled = ((uint16_t)pcs_read(MDIO_REG_MCR) & (0x1000));
//
#endif
if
(
autoneg_enabled
)
flags
|=
MDIO_MSR_ANEGCOMPLETE
;
...
...
wrc_main.c
View file @
dd3c2c62
...
...
@@ -101,7 +101,7 @@ static void wrc_initialize(void)
* the link is down */
timer_delay_ms
(
200
);
#ifdef BROADCAST // BROADCAST
#ifdef BROADCAST
_NODE
// BROADCAST
ep_enable
(
1
,
0
);
// Auto negociation not enabled.
// ep_set_autonegotiation(0); // Test to disable autoneg even if it is not enabled...
#else
...
...
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