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

- From: Jean Delvare \<hidden\>
- Date: 2013-07-26 11:01:25 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2013/07/4089544
- Thread: https://ratatoskr.run/linuxppc-dev/2013/06/4075397/t.md

```text
Hi Alexandre,

Le Friday 28 June 2013 à 15:18 -0400, Alexandre Bounine a écrit :
> 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?

>  	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
```
