[PATCH 5/7] rapidio: add modular build option for the subsystem core
Jean Delvare
jdelvare at suse.de
Fri Jul 26 21:00:54 EST 2013
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 at idt.com>
> Cc: Matt Porter <mporter at kernel.crashing.org>
> Cc: Li Yang <leoli at freescale.com>
> Cc: Kumar Gala <galak at kernel.crashing.org>
> Cc: Andre van Herk <andre.van.herk at Prodrive.nl>
> Cc: Micha Nelissen <micha.nelissen at Prodrive.nl>
> Cc: Stef van Os <stef.van.os at Prodrive.nl>
> Cc: Jean Delvare <jdelvare at suse.de>
> ---
> 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
More information about the Linuxppc-dev
mailing list