diff options
author | Salil Mehta <salil.mehta@huawei.com> | 2017-12-14 18:03:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 10:55:34 -0500 |
commit | 424eb834a9be49273c4b32d0d6395dfdbe768a1a (patch) | |
tree | 952b4bdab1b27d9197b4d2c8cda5ec9cfcb72f27 /drivers/net/ethernet/hisilicon/hns3/Makefile | |
parent | net: hns3: Add HNS3 VF driver to kernel build framework (diff) | |
download | linux-dev-424eb834a9be49273c4b32d0d6395dfdbe768a1a.tar.xz linux-dev-424eb834a9be49273c4b32d0d6395dfdbe768a1a.zip |
net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC
Most of the NAPI handling interface, skb buffer management,
management of the RX/TX descriptors, ethool interface etc.
has quite a bit of code which is common to VF and PF driver.
This patch makes the exisitng PF's HNS3 ENET driver as the
common ENET driver for both Virtual & Physical Function. This
will help in reduction of redundancy and better management of
code.
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/Makefile')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/Makefile b/drivers/net/ethernet/hisilicon/hns3/Makefile index c45094513c87..002534f12b66 100644 --- a/drivers/net/ethernet/hisilicon/hns3/Makefile +++ b/drivers/net/ethernet/hisilicon/hns3/Makefile @@ -7,3 +7,8 @@ obj-$(CONFIG_HNS3) += hns3pf/ obj-$(CONFIG_HNS3) += hns3vf/ obj-$(CONFIG_HNS3) += hnae3.o + +obj-$(CONFIG_HNS3_ENET) += hns3.o +hns3-objs = hns3_enet.o hns3_ethtool.o + +hns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o |