Skip to contentSkip to conversation

pch_gbe: fix unmet direct dependency on PTP_1588_CLOCK_PCH

PATCH Superseded Vladimir Murzin 2 participants 3 messages Sep 9, 2013 – Sep 10, 2013

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pch_gbe: fix unmet direct dependency on PTP_1588_CLOCK_PCH

While cross-building for PPC.

warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct dependencies (X86 || COMPILE_TEST)

Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow building on different arches.

---
 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +1 -1
index cb22341..4a935ec 100644
@@ -4,7 +4,7 @@
 
 config PCH_GBE
 	tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
-	depends on PCI
+	depends on PCI && (x86 || COMPILE_TEST)
 	select MII
 	select PTP_1588_CLOCK_PCH
 	---help---
Signature · 1 line
1.8.1.5
#1 lore raw
Quoted 19 lines · Vladimir Murzin

While cross-building for PPC.

warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct dependencies (X86 || COMPILE_TEST)

Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow building on different arches.

---
 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +0 -0
index cb22341..4a935ec 100644

drivers/net/ethernet/oki-semi/pch_gbe/Kconfig line 7

Quoted 5 lines
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +1 -1
@@ -4,7 +4,7 @@
 
 config PCH_GBE
 	tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
-	depends on PCI
+	depends on PCI && (x86 || COMPILE_TEST)

Has this been tested?
That should be X86

Quoted 4 lines
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +0 -0
 	select MII
 	select PTP_1588_CLOCK_PCH
 	---help---
Signature · 1 line
~Randy
#2 lore raw
Quoted 21 lines · Randy Dunlap
Quoted 20 lines · Vladimir Murzin

While cross-building for PPC.

warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct dependencies (X86 || COMPILE_TEST)

Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow building on different arches.

---
 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +0 -0
index cb22341..4a935ec 100644
@@ -4,7 +4,7 @@
 
Quoted 7 lines

drivers/net/ethernet/oki-semi/pch_gbe/Kconfig line 7

Quoted 4 lines
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +1 -1
 config PCH_GBE
 	tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
-	depends on PCI
+	depends on PCI && (x86 || COMPILE_TEST)

Has this been tested?
That should be X86

Right, it should be X86. It was cross-compile tested which was obviously not enough. Thanks.

Quoted 9 lines
Quoted 5 lines
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +0 -0
 	select MII
 	select PTP_1588_CLOCK_PCH
 	---help---
Signature · 1 line
~Randy