diff mbox series

drivers: net: e1000: with DM_ETH needs DM_PCI too

Message ID 1588137977-12520-1-git-send-email-madalin.bucur@oss.nxp.com
State Accepted
Commit 94472223c69f1d5dacff7ddeace67c05c62146e1
Headers show
Series drivers: net: e1000: with DM_ETH needs DM_PCI too | expand

Commit Message

Madalin Bucur (OSS) April 29, 2020, 5:26 a.m. UTC
Compilation error occur when DM_ETH is enabled without DM_PCI.

Signed-off-by: Madalin Bucur <madalin.bucur at oss.nxp.com>
---
 drivers/net/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Priyanka Jain (OSS) June 8, 2020, 7:52 a.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Madalin Bucur
>Sent: Wednesday, April 29, 2020 10:56 AM
>To: joe.hershberger at ni.com; u-boot at lists.denx.de
>Cc: Madalin Bucur (OSS) <madalin.bucur at oss.nxp.com>
>Subject: [PATCH] drivers: net: e1000: with DM_ETH needs DM_PCI too
>
>Compilation error occur when DM_ETH is enabled without DM_PCI.
>
>Signed-off-by: Madalin Bucur <madalin.bucur at oss.nxp.com>
>---
<snip> 
Patch applied on mpc85xx. Awaiting upstream

Thanks
Priyanka
diff mbox series

Patch

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 4d1013c..4313d04 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -156,6 +156,7 @@  config DWC_ETH_QOS
 
 config E1000
 	bool "Intel PRO/1000 Gigabit Ethernet support"
+	depends on (DM_ETH && DM_PCI) || !DM_ETH
 	help
 	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
 	  adapters.  For more information on how to identify your adapter, go