Skip to contentSkip to conversation

sparc: move select of ARCH_SUPPORTS_MSI

PATCH Applied Sam Ravnborg 2 participants 2 messages Dec 25, 2008 – Dec 27, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 sparc: move select of ARCH_SUPPORTS_MSI

It is counter intuitive to have the select listed as part of the PCI option.
Move the select to the SPARC64 specific part of the config.

PCI_MSI has a dependency on PCI so it does not harm to have it always selected.

---
 arch/sparc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/Kconfig +1 -1
index 8ec81b6..0a94d9c 100644
@@ -31,6 +31,7 @@ config SPARC32
 config SPARC64
 	bool
 	default y if ARCH = "sparc64"
+	select ARCH_SUPPORTS_MSI
 	select HAVE_FUNCTION_TRACER
 	select HAVE_KRETPROBES
 	select HAVE_KPROBES
@@ -478,7 +479,6 @@ config SUN_LDOMS
 
 config PCI
 	bool "Support for PCI and PS/2 keyboard/mouse"
-	select ARCH_SUPPORTS_MSI if SPARC64
 	help
 	  Find out whether your system includes a PCI bus. PCI is the name of
 	  a bus system, i.e. the way the CPU talks to the other stuff inside
Signature · 1 line
1.6.0.2.GIT
maintainer
#1 lore raw

From: Sam Ravnborg <[email protected]>
Date: Thu, 25 Dec 2008 18:52:50 +0100

Quoted 8 lines

It is counter intuitive to have the select listed as part of the PCI option.
Move the select to the SPARC64 specific part of the config.

PCI_MSI has a dependency on PCI so it does not harm to have it always selected.

Also applied, thanks Sam.