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 <[email protected]> Cc: Li Yang <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Andre van Herk <[email protected]> Cc: Micha Nelissen <[email protected]> Cc: Stef van Os <[email protected]> Cc: Jean Delvare <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

