Skip to contentSkip to conversation

isdn: hardware: mISDN: Remove reference to CONFIG_8xx

PATCH Applied Christophe Leroy 2 participants 2 messages Mar 16, 2017

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

PATCH 1/1 isdn: hardware: mISDN: Remove reference to CONFIG_8xx

CONFIG_8xx is deprecated and should soon be removed in favor of CONFIG_PPC_8xx.
Anyway, hfc_multi_8xx.h only uses 8xx I/O ports which are linked to the CPM1 communication processor included in the 8xx rather than the 8xx itself.

This patch therefore makes it dependent on CONFIG_CPM1 instead, like several other drivers.

---
 drivers/isdn/hardware/mISDN/Kconfig         | 6 +++---
 drivers/isdn/hardware/mISDN/hfc_multi_8xx.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/isdn/hardware/mISDN/Kconfig +3 -3
index 09df54fc1fef..fda912b0833f 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 || CPM1
 	depends on MISDN
 	help
 	  Enable support for cards with Cologne Chip AG's HFC multiport
@@ -27,8 +27,8 @@ config MISDN_HFCMULTI_8xx
 	bool "Support for XHFC embedded board in HFC multiport driver"
 	depends on MISDN
 	depends on MISDN_HFCMULTI
-	depends on 8xx
-	default 8xx
+	depends on CPM1
+	default CPM1
 	help
 	  Enable support for the XHFC embedded solution from Speech Design.
 
drivers/isdn/hardware/mISDN/hfc_multi_8xx.h +1 -1
index 0eafe9f04fca..8a254747768e 100644
@@ -6,7 +6,7 @@
  *
  */
 
-#include <asm/8xx_immap.h>
+#include <asm/cpm1.h>
 
 /* Change this to the value used by your board */
 #ifndef IMAP_ADDR
Signature · 1 line
2.12.0
maintainer Applied
#1 lore raw

From: Christophe Leroy <[email protected]>
Date: Thu, 16 Mar 2017 10:18:02 +0100 (CET)

Quoted 10 lines

CONFIG_8xx is deprecated and should soon be removed in favor of CONFIG_PPC_8xx.
Anyway, hfc_multi_8xx.h only uses 8xx I/O ports which are linked to the CPM1 communication processor included in the 8xx rather than the 8xx itself.

This patch therefore makes it dependent on CONFIG_CPM1 instead, like several other drivers.

Applied.