summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-08-04 21:14:21 -0600
committerGitHub <noreply@github.com>2020-08-04 21:14:21 -0600
commit84e86b7f7223d6dea27ce53d906c40c4b912b6e5 (patch)
treeaec35c43e9d7a979db7e93843dfe685ca06218a6
parent9c333a3bd7b9094d9c494040e44dba940bdfdac7 (diff)
downloadbcm5719-ortega-84e86b7f7223d6dea27ce53d906c40c4b912b6e5.tar.gz
bcm5719-ortega-84e86b7f7223d6dea27ce53d906c40c4b912b6e5.zip
network: Disable APEPromiscuousMode as it can cause the APE block to lock up and fail to recieve packets. (#100)
-rw-r--r--libs/Network/ports.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/Network/ports.c b/libs/Network/ports.c
index 0d14ce8..0e93bf9 100644
--- a/libs/Network/ports.c
+++ b/libs/Network/ports.c
@@ -874,7 +874,9 @@ void Network_InitPort(NetworkPort_t *port, reload_type_t reset_phy)
RegDEVICEReceiveMacMode_t macMode;
macMode = port->device->ReceiveMacMode;
macMode.bits.Enable = 1;
- macMode.bits.APEPromiscuousMode = 1; // When set, allows APE to RX without having to reset the network configuration after a power off
+ // When set, allows APE to RX without having to reset the network configuration after a power off
+ // When set, can cause the network to APE hardware blocks to lock up when the host is activly using the interface, so set to 0.
+ macMode.bits.APEPromiscuousMode = 0;
if (port->device->ReceiveMacMode.r32 != macMode.r32)
{
port->device->ReceiveMacMode = macMode;
OpenPOWER on IntegriCloud