summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/faraday/ftgmac100.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-10-04 00:25:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-10-04 06:11:51 (GMT)
commitc0cd1ba4f8bd8b5fef43bc51a2983673b8f086ff (patch)
tree7ea119581cb360706fa46c69678dcff8ded7b8dc /drivers/net/ethernet/faraday/ftgmac100.c
parent83afdc6aad9d767cae271df1ca15641b9cbe3bfe (diff)
downloadlinux-c0cd1ba4f8bd8b5fef43bc51a2983673b8f086ff.tar.xz
net/ncsi: Introduce ncsi_stop_dev()
This introduces ncsi_stop_dev(), as counterpart to ncsi_start_dev(), to stop the NCSI device so that it can be reenabled in future. This API should be called when the network device driver is going to shutdown the device. There are 3 things done in the function: Stop the channel monitoring; Reset channels to inactive state; Report NCSI link down. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday/ftgmac100.c')
0 files changed, 0 insertions, 0 deletions