Skip to contentSkip to conversation

isdn: replace CONFIG_8xx by CONFIG_PPC_8xx

PATCH Applied Christophe Leroy 3 participants 3 messages Mar 12, 2015

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 isdn: replace CONFIG_8xx by CONFIG_PPC_8xx

Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor

arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used, so it is likely to be a good time to get rid of it completely ?

---
 drivers/isdn/hardware/mISDN/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/isdn/hardware/mISDN/Kconfig +2 -2
index 09df54f..ad9deab 100644
@@ -13,7 +13,7 @@ config MISDN_HFCPCI
 
 config MISDN_HFCMULTI
 	tristate "Support for HFC multiport cards (HFC-4S/8S/E1)"
-	depends on PCI || 8xx
+	depends on PCI || PPC_8xx
 	depends on MISDN
 	help
 	  Enable support for cards with Cologne Chip AG's HFC multiport
@@ -28,7 +28,7 @@ config MISDN_HFCMULTI_8xx
 	depends on MISDN
 	depends on MISDN_HFCMULTI
 	depends on 8xx
-	default 8xx
+	default PPC_8xx
 	help
 	  Enable support for the XHFC embedded solution from Speech Design.
 
Signature · 1 line
2.1.0
#1 lore raw

Hello.

Quoted 14 lines · Christophe Leroy

Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor

arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used, so it is likely to be a good time to get rid of it completely ?

[...]

Quoted 4 lines
drivers/isdn/hardware/mISDN/Kconfig +0 -0
index 09df54f..ad9deab 100644

[...]

drivers/isdn/hardware/mISDN/Kconfig config MISDN_HFCMULTI_8xx · line 30

Quoted 4 lines
drivers/isdn/hardware/mISDN/Kconfig +0 -0
@@ -28,7 +28,7 @@ config MISDN_HFCMULTI_8xx
  	depends on MISDN
  	depends on MISDN_HFCMULTI
  	depends on 8xx

Eh, how about this one?

drivers/isdn/hardware/mISDN/Kconfig config MISDN_HFCMULTI_8xx · line 33

Quoted 4 lines
drivers/isdn/hardware/mISDN/Kconfig +1 -1
-	default 8xx
+	default PPC_8xx
  	help
  	  Enable support for the XHFC embedded solution from Speech Design.

WBR, Sergei

Acked-by David S. Miller on v1 7/8
#2 lore raw
In reply to Christophe Leroy

From: Christophe Leroy <[email protected]>
Date: Thu, 12 Mar 2015 16:24:09 +0100 (CET)

Quoted 6 lines

Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor

Quoted 8 lines

arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used, so it is likely to be a good time to get rid of it completely ?