summaryrefslogtreecommitdiffstats
path: root/libs/NCSI
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-02-29 10:59:29 -0700
committerGitHub <noreply@github.com>2020-02-29 10:59:29 -0700
commit52faad247802d20eca9d39037661e4eb564a3eb2 (patch)
tree10e177e384e47731ac5de6755002e972e3c19353 /libs/NCSI
parentd6577dec26661b219e8d85443bdeedac8e0ec9b8 (diff)
downloadbcm5719-ortega-52faad247802d20eca9d39037661e4eb564a3eb2.tar.gz
bcm5719-ortega-52faad247802d20eca9d39037661e4eb564a3eb2.zip
ape: Improve recovery speed by checking for link changes early and resetting the MAC early on a driver unload. (#51)
Diffstat (limited to 'libs/NCSI')
-rw-r--r--libs/NCSI/ncsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/NCSI/ncsi.c b/libs/NCSI/ncsi.c
index 46f5be9..ce859e4 100644
--- a/libs/NCSI/ncsi.c
+++ b/libs/NCSI/ncsi.c
@@ -406,8 +406,6 @@ static void getLinkStatusHandler(NetworkFrame_t *frame)
uint32_t rx = port->shm_channel->NcsiChannelCtrlstatAllRx.r32;
uint32_t tx = port->shm_channel->NcsiChannelCtrlstatAllRx.r32;
- Network_checkPortState(port);
-
APE_aquireLock();
stat.r16 = MII_readRegister(port->device, phy, (mii_reg_t)REG_MII_AUXILIARY_STATUS_SUMMARY);
APE_releaseLock();
OpenPOWER on IntegriCloud