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

From: Jean Delvare
Date: Fri Jul 26 2013 - 07:01:28 EST


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 <alexandre.bounine@xxxxxxx>
> Cc: Matt Porter <mporter@xxxxxxxxxxxxxxxxxxx>
> Cc: Li Yang <leoli@xxxxxxxxxxxxx>
> Cc: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
> Cc: Andre van Herk <andre.van.herk@xxxxxxxxxxx>
> Cc: Micha Nelissen <micha.nelissen@xxxxxxxxxxx>
> Cc: Stef van Os <stef.van.os@xxxxxxxxxxx>
> Cc: Jean Delvare <jdelvare@xxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/