]> git.baikalelectronics.ru Git - kernel.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)
commit1c941bb7242dad9e424223893d6387fe213011b8
treedf85147dbe17afc1843b1ba9ab30ba47cdf23e17
parente6dc77a30bc1c4bd79a3f4bdf9463dfdd91ebb43
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