summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/huawei/Kconfig
diff options
context:
space:
mode:
authorAviad Krawczyk <aviad.krawczyk@huawei.com>2017-08-21 18:55:47 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-22 20:48:52 +0300
commit51ba902a16e68b786028db8b0482f3a5f22e7d4f (patch)
tree568fdad7aa50224473298f863dcfb1e5c0108d46 /drivers/net/ethernet/huawei/Kconfig
parent89c9c1636f5aeef7b74cdcc141e0abc9bd764afe (diff)
downloadlinux-51ba902a16e68b786028db8b0482f3a5f22e7d4f.tar.xz
net-next/hinic: Initialize hw interface
Initialize hw interface as part of the nic initialization for accessing hw. Signed-off-by: Aviad Krawczyk <aviad.krawczyk@huawei.com> Signed-off-by: Zhao Chen <zhaochen6@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/Kconfig')
-rw-r--r--drivers/net/ethernet/huawei/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/Kconfig b/drivers/net/ethernet/huawei/Kconfig
new file mode 100644
index 000000000000..c1a95ae4058b
--- /dev/null
+++ b/drivers/net/ethernet/huawei/Kconfig
@@ -0,0 +1,19 @@
+#
+# Huawei driver configuration
+#
+
+config NET_VENDOR_HUAWEI
+ bool "Huawei devices"
+ default y
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y.
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about Huawei cards. If you say Y, you will be asked
+ for your specific card in the following questions.
+
+if NET_VENDOR_HUAWEI
+
+source "drivers/net/ethernet/huawei/hinic/Kconfig"
+
+endif # NET_VENDOR_HUAWEI