Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420735

[PATCH] net: hns: update the dependency

From Yisen Zhuang <Yisen.Zhuang@huawei.com>
Newsgroups linux.kernel
Subject [PATCH] net: hns: update the dependency
Date 2016-06-13 13:40 +0200
Message-ID <rJynL-5Ep-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Kejian Yan <yankejian@huawei.com>

After the patchset about adding support of ACPI (commit id is 6343488)
being applied, HNS does not depend on OF. It depends on OF or ACPI, so
the Kconfig file needs to be updated.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
---
 drivers/net/ethernet/hisilicon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig
index 4ccc032..2e25662 100644
--- a/drivers/net/ethernet/hisilicon/Kconfig
+++ b/drivers/net/ethernet/hisilicon/Kconfig
@@ -5,7 +5,7 @@
 config NET_VENDOR_HISILICON
 	bool "Hisilicon devices"
 	default y
-	depends on OF && HAS_DMA
+	depends on (OF || ACPI) && HAS_DMA
 	depends on ARM || ARM64 || COMPILE_TEST
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] net: hns: update the dependency Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-06-13 13:40 +0200
  Re: [PATCH] net: hns: update the dependency David Miller <davem@davemloft.net> - 2016-06-15 07:30 +0200
    Re: [PATCH] net: hns: update the dependency Yisen Zhuang <Yisen.zhuang@huawei.com> - 2016-06-15 08:10 +0200
      Re: [PATCH] net: hns: update the dependency David Miller <davem@davemloft.net> - 2016-06-15 08:30 +0200
        Re: [PATCH] net: hns: update the dependency Yisen Zhuang <Yisen.zhuang@huawei.com> - 2016-06-15 09:40 +0200

csiph-web