]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add support for hns3_nic_netdev_ops.ndo_do_ioctl
authorXi Wang <wangxi11@huawei.com>
Wed, 19 Sep 2018 17:29:51 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:20:22 +0000 (21:20 -0700)
commitbc76554f40dc94248ce7a03806c67bc1418c14d4
treefcf3dbc56327a50b3af0399c7f599d128b3a8822
parentf65caa0227542739263c2ddaeb9ce33713ad50a2
net: hns3: Add support for hns3_nic_netdev_ops.ndo_do_ioctl

This patch adds the .ndo_do_ioctl net_device_ops operation to support
the PHY MII ioctl for PF driver.

Fixes: 6e2406330b28 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Xi Wang <wangxi11@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/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c