]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Revert "UBUNTU: SAUCE: {topost} net: hns3: give default option while dependency HNS3...
authordann frazier <dann.frazier@canonical.com>
Thu, 16 Aug 2018 19:19:31 +0000 (13:19 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 12:18:34 +0000 (14:18 +0200)
BugLink: https://bugs.launchpad.net/bugs/1787477
This reverts commit 3028c344add416d05bf5bc5d5e973cd07a02f860.
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/hisilicon/Kconfig

index 27edca82ef511d8a7ec7c72c9c88cf675eda5c17..8bcf470ff5f38a4e62842a5f31d5c0b45141ab85 100644 (file)
@@ -85,12 +85,10 @@ config HNS3
          drivers(like ODP)to register with HNAE devices and their associated
          operations.
 
-if HNS3
-
 config HNS3_HCLGE
        tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
-       default m
        depends on PCI_MSI
+       depends on HNS3
        ---help---
          This selects the HNS3_HCLGE network acceleration engine & its hardware
          compatibility layer. The engine would be used in Hisilicon hip08 family of
@@ -99,15 +97,16 @@ config HNS3_HCLGE
 config HNS3_DCB
        bool "Hisilicon HNS3 Data Center Bridge Support"
        default n
-       depends on HNS3_HCLGE && DCB
+       depends on HNS3 && HNS3_HCLGE && DCB
        ---help---
          Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
 
          If unsure, say N.
 
 config HNS3_HCLGEVF
-       tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
-       depends on PCI_MSI
+    tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
+    depends on PCI_MSI
+    depends on HNS3
        depends on HNS3_HCLGE
     ---help---
          This selects the HNS3 VF drivers network acceleration engine & its hardware
@@ -116,13 +115,11 @@ config HNS3_HCLGEVF
 
 config HNS3_ENET
        tristate "Hisilicon HNS3 Ethernet Device Support"
-       default m
        depends on 64BIT && PCI
+       depends on HNS3
        ---help---
          This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
          family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
          devices and their associated operations.
 
-endif #HNS3
-
 endif # NET_VENDOR_HISILICON