Re: [PATCH 5/7] rapidio: add modular build option for the subsystem core

From
Jean Delvare <hidden>
Date
2013-07-26 11:01:25
Also in
lkml
Reply to
Alexandre Bounine, 2013-06-28
Hi Alexandre,

Le Friday 28 June 2013 à 15:18 -0400, Alexandre Bounine a écrit :
quoted hunk ↗ jump to hunk
Add a configuration option to build RapidIO subsystem core code as a loadable
kernel module. Currently this option is available only for x86-based platforms,
with the additional patch for PowerPC planned to be provided later.

This patch replaces kernel command line parameter "riohdid=" with its
module-specific analog "rapidio.hdid=".  

Signed-off-by: Alexandre Bounine <redacted>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <redacted>
Cc: Kumar Gala <redacted>
Cc: Andre van Herk <redacted>
Cc: Micha Nelissen <redacted>
Cc: Stef van Os <redacted>
Cc: Jean Delvare <redacted>
---
 arch/x86/Kconfig         |    4 ++--
 drivers/rapidio/Makefile |    4 +++-
 drivers/rapidio/rio.c    |   27 ++++++++++++++-------------
 3 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fe120da..583ac42 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2246,11 +2246,11 @@ source "drivers/pcmcia/Kconfig"
 source "drivers/pci/hotplug/Kconfig"
 
 config RAPIDIO
-	bool "RapidIO support"
+	tristate "RapidIO support"
Is there a reason why this was only done for x86 and not for mips and
powerpc?
quoted hunk ↗ jump to hunk
 	depends on PCI
 	default n
 	help
-	  If you say Y here, the kernel will include drivers and
+	  If enabled this option will include drivers and the core
 	  infrastructure code to support RapidIO interconnect devices.
 
-- 
Jean Delvare
Suse L3
Thread (11 messages) 11 messages, 2 authors, last reply 2013-07-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help