hinic: move ethtool code into hinic_ethtool
authorXue Chaojing <xuechaojing@huawei.com>
Tue, 18 Jun 2019 06:20:52 +0000 (06:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 01:52:27 +0000 (21:52 -0400)
commiteb8ce9ac167146b0679859ba69c492ee1403a0f0
treeb89fff126416f64f0da2afad470a32c391cf7923
parent421e9526288b6ec241b46153493884277cbb533f
hinic: move ethtool code into hinic_ethtool

This patch moves ethtool code from hinic_main.c to hinic_ethtool.c

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/Makefile
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c [new file with mode: 0644]
drivers/net/ethernet/huawei/hinic/hinic_main.c
drivers/net/ethernet/huawei/hinic/hinic_port.h