summaryrefslogtreecommitdiffstats
path: root/libs/Network/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-06-13 20:04:55 -0600
committerGitHub <noreply@github.com>2021-06-13 20:04:55 -0600
commit388f0dce16f9847e8a9368569639f4c60c1bf3be (patch)
tree63f3d144a5120a32858f4b112bfd7a42e9eeea28 /libs/Network/include
parent94d0286b5896a923a0a59f7a1f037fe64f8fe141 (diff)
downloadbcm5719-ortega-388f0dce16f9847e8a9368569639f4c60c1bf3be.tar.gz
bcm5719-ortega-388f0dce16f9847e8a9368569639f4c60c1bf3be.zip
ape: Fix a possible race condition where MII contention could exist. (#220)
This ensure the APE locks the MII interface before accessing it to avoid collisions with the host.
Diffstat (limited to 'libs/Network/include')
-rw-r--r--libs/Network/include/Network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/Network/include/Network.h b/libs/Network/include/Network.h
index ec57a17..dadc2e8 100644
--- a/libs/Network/include/Network.h
+++ b/libs/Network/include/Network.h
@@ -112,6 +112,7 @@ void Network_resetRX(NetworkPort_t *port, reload_type_t reset_phy);
void Network_checkPortState(NetworkPort_t *port);
bool Network_updatePortState(NetworkPort_t *port);
bool Network_checkEnableState(NetworkPort_t *port);
+void Network_setEnableState(NetworkPort_t *port);
bool Network_isLinkUp(NetworkPort_t *port);
void Network_resetLink(NetworkPort_t *port);
OpenPOWER on IntegriCloud