]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: Implement shutdown ops in hns3 pci driver
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 3 Sep 2018 10:21:49 +0000 (11:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 05:04:45 +0000 (22:04 -0700)
commitce2c1d2ea67adf2742d4d3ef58f8d668b3a6b85f
treedf85147dbe17afc1843b1ba9ab30ba47cdf23e17
parent54e97d117bafa161b08c6ade243a335d92890d94
net: hns3: Implement shutdown ops in hns3 pci driver

This patch implements shutdown ops in hns3 pci driver, which
unloads the hns3 driver and set the power state to D3hot.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c