netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs
       [not found] <1453760661-1444-1-git-send-email-richard@nod.at>
@ 2016-01-25 22:24 ` Richard Weinberger
  2016-01-26 23:15   ` Noam Camus
  2016-01-29  0:03   ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Weinberger @ 2016-01-25 22:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, user-mode-linux-devel, Richard Weinberger,
	Alexey Brodkin, Tal Zilcer, Noam Camus, netdev, David S. Miller

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/net/ethernet/ezchip/Kconfig | 1 +
 drivers/net/phy/Kconfig             | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/ezchip/Kconfig b/drivers/net/ethernet/ezchip/Kconfig
index 48ecbc8..b423ad3 100644
--- a/drivers/net/ethernet/ezchip/Kconfig
+++ b/drivers/net/ethernet/ezchip/Kconfig
@@ -18,6 +18,7 @@ if NET_VENDOR_EZCHIP
 config EZCHIP_NPS_MANAGEMENT_ENET
 	tristate "EZchip NPS management enet support"
 	depends on OF_IRQ && OF_NET
+	depends on HAS_IOMEM
 	---help---
 	  Simple LAN device for debug or management purposes.
 	  Device supports interrupts for RX and TX(completion).
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 60994a8..f0a7702 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -186,6 +186,7 @@ config MDIO_GPIO
 config MDIO_OCTEON
 	tristate "Support for MDIO buses on Octeon and ThunderX SOCs"
 	depends on 64BIT
+	depends on HAS_IOMEM
 	help
 
 	  This module provides a driver for the Octeon and ThunderX MDIO
-- 
1.8.4.5


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs
  2016-01-25 22:24 ` [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
@ 2016-01-26 23:15   ` Noam Camus
  2016-01-29  0:03   ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Noam Camus @ 2016-01-26 23:15 UTC (permalink / raw)
  To: Richard Weinberger, linux-kernel@vger.kernel.org
  Cc: user-mode-linux-devel@lists.sourceforge.net, Florian Fainelli,
	Tal Zilcer, David S. Miller, Alexey Brodkin,
	netdev@vger.kernel.org

From: Richard Weinberger <richard@nod.at>
Sent: Tuesday, January 26, 2016 12:24 AM

>Not every arch has io memory.
>So, unbreak the build by fixing the dependencies.

>Signed-off-by: Richard Weinberger <richard@nod.at>
>---
> drivers/net/ethernet/ezchip/Kconfig | 1 +
> drivers/net/phy/Kconfig             | 1 +
> 2 files changed, 2 insertions(+)

>diff --git a/drivers/net/ethernet/ezchip/Kconfig >b/drivers/net/ethernet/ezchip/Kconfig
>index 48ecbc8..b423ad3 100644
>--- a/drivers/net/ethernet/ezchip/Kconfig
>+++ b/drivers/net/ethernet/ezchip/Kconfig
>@@ -18,6 +18,7 @@ if NET_VENDOR_EZCHIP
> config EZCHIP_NPS_MANAGEMENT_ENET
>        tristate "EZchip NPS management enet support"
>       depends on OF_IRQ && OF_NET
>+       depends on HAS_IOMEM
>        ---help---
>          Simple LAN device for debug or management purposes.
>          Device supports interrupts for RX and TX(completion).

You got my ACK.

-Noam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs
  2016-01-25 22:24 ` [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
  2016-01-26 23:15   ` Noam Camus
@ 2016-01-29  0:03   ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-01-29  0:03 UTC (permalink / raw)
  To: richard
  Cc: linux-kernel, user-mode-linux-devel, f.fainelli, talz, abrodkin,
	noamc, netdev

From: Richard Weinberger <richard@nod.at>
Date: Mon, 25 Jan 2016 23:24:12 +0100

> Not every arch has io memory.
> So, unbreak the build by fixing the dependencies.
> 
> Signed-off-by: Richard Weinberger <richard@nod.at>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-29  0:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1453760661-1444-1-git-send-email-richard@nod.at>
2016-01-25 22:24 ` [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs Richard Weinberger
2016-01-26 23:15   ` Noam Camus
2016-01-29  0:03   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).