Commit dd3c2c62 authored by Omar Gabella's avatar Omar Gabella

FULL std WR in BROADCAST_BASE

parent 04c17945
Pipeline #4421 failed with stages
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment