summaryrefslogtreecommitdiffstats
path: root/libs/Network/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-11-19 19:23:06 -0700
committerGitHub <noreply@github.com>2020-11-19 19:23:06 -0700
commitd2a90411c94cc8ea175b879d16a30705d206ae84 (patch)
tree8efef70894947fae30970aaa2cbcd63882014c50 /libs/Network/include
parent5520cf3dff14b3805fafafbfc05853a03aeafcfc (diff)
downloadbcm5719-ortega-d2a90411c94cc8ea175b879d16a30705d206ae84.tar.gz
bcm5719-ortega-d2a90411c94cc8ea175b879d16a30705d206ae84.zip
ape: Reset the network interface any time the APE mode is incorrect. (#173)
In certain situations, such as a driver unload, the APE mode can be reset. This adds APE.mode to the current state change check to enable early recovery from events such as a driver unload.
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 0d13a90..ec57a17 100644
--- a/libs/Network/include/Network.h
+++ b/libs/Network/include/Network.h
@@ -111,6 +111,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);
bool Network_isLinkUp(NetworkPort_t *port);
void Network_resetLink(NetworkPort_t *port);
OpenPOWER on IntegriCloud