[PATCH 0/7] rapidio: modularize rapidio subsystem

From: Alexandre Bounine
Date: Fri Jun 28 2013 - 15:31:03 EST


The following set of patches modifies kernel RapidIO subsystem to enable build
and use of its components as loadable kernel modules. Combinations of statically
linked and modular components are also supported.

For this release full RapidIO subsystem modularization is implemented for
x86-based platforms. For PowerPC platforms (mostly MPC85xx) RapidIO core and
the mport driver (fsl_rio.c) still have only statically linked build option
while other components (enumerator and switch drivers) can be built as kernel
modules. This is not a significant limitation for embedded PowerPC platforms
because they use on-chip RapidIO controllers. For PowerPC platforms that may use
an external PCIe RapidIO controller (e.g. Tsi721) an additional patch will be
provided later.

This set of patches is based on the current linux-next code tree that contains
previously submitted patches for modularized enumeration/discovery method.

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>

Alexandre Bounine (7):
rapidio: convert switch drivers to modules
rapidio/rionet: rework driver initialization and removal
rapidio: update enumerator registration mechanism
rapidio/tsi721: convert to modular mport driver
rapidio: add modular build option for the subsystem core
rapidio: add udev notification
rapidio: documentation update

Documentation/rapidio/rapidio.txt | 98 ++++++-
Documentation/rapidio/sysfs.txt | 1 +
arch/x86/Kconfig | 4 +-
drivers/net/rionet.c | 103 ++++++--
drivers/rapidio/Kconfig | 5 +
drivers/rapidio/Makefile | 4 +-
drivers/rapidio/devices/Kconfig | 2 +-
drivers/rapidio/devices/Makefile | 7 +-
drivers/rapidio/devices/tsi721.c | 9 +-
drivers/rapidio/rio-driver.c | 18 ++
drivers/rapidio/rio-scan.c | 172 +------------
drivers/rapidio/rio-sysfs.c | 31 +--
drivers/rapidio/rio.c | 490 ++++++++++++++++++++++++++++-------
drivers/rapidio/rio.h | 44 +---
drivers/rapidio/switches/Kconfig | 12 +-
drivers/rapidio/switches/idt_gen2.c | 98 ++++++--
drivers/rapidio/switches/idtcps.c | 86 +++++--
drivers/rapidio/switches/tsi568.c | 71 +++++-
drivers/rapidio/switches/tsi57x.c | 81 +++++-
include/asm-generic/vmlinux.lds.h | 7 -
include/linux/mod_devicetable.h | 19 ++
include/linux/rio.h | 82 +++---
include/linux/rio_ids.h | 2 -
scripts/mod/devicetable-offsets.c | 6 +
scripts/mod/file2alias.c | 20 ++
25 files changed, 998 insertions(+), 474 deletions(-)

--
1.7.8.4

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