Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ngbe: keep link down after device close
[ upstream commit 3dd64cf80ed5142eeb0a8e3051a583fb38761221 ] When the port is closed, hardware is reset to power on. And ngbe_dev_stop() is just returned 0 to avoid secondary calls, so that the link led remains on. Fix this bug by adding to turn off the PHY power. Fixes: 3518df5 ("net/ngbe: support device start/stop") Fixes: 708ebe7 ("net/ngbe: fix external PHY power down") Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
- Loading branch information