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


Groups > linux.kernel > #1317359 > unrolled thread

[PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs

Started byRichard Weinberger <richard@nod.at>
First post2016-01-25 23:30 +0100
Last post2016-01-27 00:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs Noam Camus <noamc@ezchip.com> - 2016-01-27 00:20 +0100

#1317359 — [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs

FromRichard Weinberger <richard@nod.at>
Date2016-01-25 23:30 +0100
Subject[PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs
Message-ID<qUXO3-2e8-33@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1318459

FromNoam Camus <noamc@ezchip.com>
Date2016-01-27 00:20 +0100
Message-ID<qVl3X-2ZP-5@gated-at.bofh.it>
In reply to#1317359
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web