-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: hns3: Add HNS3 VF driver to kernel build framework
This patch introduces the new Makefiles and updates existing Makefiles required to build the HNS3 Virtual Function driver. This also updates the Kconfig for introduction of new menuconfig entries related to VF driver. 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>
- Loading branch information
Salil Mehta
authored and
David S. Miller
committed
Dec 15, 2017
1 parent
e2cb1de
commit e963cb7
Showing
3 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
# Makefile for the HISILICON network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_HNS3) += hns3pf/ | ||
obj-$(CONFIG_HNS3) += hns3vf/ | ||
|
||
obj-$(CONFIG_HNS3) += hnae3.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
# Makefile for the HISILICON network device drivers. | ||
# | ||
|
||
ccflags-y := -Idrivers/net/ethernet/hisilicon/hns3 | ||
|
||
obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o | ||
hclgevf-objs = hclgevf_main.o hclgevf_cmd.o hclgevf_mbx.o |