diff options
author | Evan Lojewski <github@meklort.com> | 2021-02-06 11:07:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 11:07:25 -0700 |
commit | c76a40e7f684ab45fc19427936f402b4ea49f382 (patch) | |
tree | fc9d47886a0d30227289615f68330a338f2af832 | |
parent | 7abd7eea6f5eff24f8a08f9ee98752bb41bd9333 (diff) | |
download | bcm5719-ortega-c76a40e7f684ab45fc19427936f402b4ea49f382.tar.gz bcm5719-ortega-c76a40e7f684ab45fc19427936f402b4ea49f382.zip |
network: Allow 1000Mb/s mode to function properly when the host is off. (#201)
-rw-r--r-- | libs/Network/ports.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/Network/ports.c b/libs/Network/ports.c index 3aacc8a..c446e6b 100644 --- a/libs/Network/ports.c +++ b/libs/Network/ports.c @@ -877,6 +877,10 @@ void Network_InitPort(NetworkPort_t *port, reload_type_t reset_phy) APE_releaseLock(); } + // 1000Mb/s mode only works if D0u is 0 when the host is off. + // Note: Per ortega, this should possibly tansition between 0 and 6.25MHz depending on the power / clock states for power consumption reasons. + port->device->D0uClockPolicy.r32 = 0; + Network_InitFilters(port); Network_resetTX(port, reset_phy); |