Commit 9c9f32ed authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Greg Kroah-Hartman

FMC: create drivers/fmc and toplevel Kconfig question

This commit creates the drivers/fmc directory and puts the necessary
hooks for kbuild and kconfig.  The code is currently a placeholder
that only registers an empty bus.
Signed-off-by: default avatarAlessandro Rubini <>
Acked-by: default avatarJuan David Gonzalez Cobas <>
Acked-by: default avatarEmilio G. Cota <>
Acked-by: default avatarSamuel Iglesias Gonsalvez <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent b1f254e3
......@@ -3309,6 +3309,15 @@ T: git git://
S: Odd fixes
F: drivers/block/floppy.c
M: Alessandro Rubini <>
S: Supported
F: drivers/fmc/
F: include/linux/fmc*.h
F: include/linux/ipmi-fru.h
K: fmc_d.*register
M: Bill Metzenthen <>
......@@ -166,4 +166,6 @@ source "drivers/ipack/Kconfig"
source "drivers/reset/Kconfig"
source "drivers/fmc/Kconfig"
......@@ -152,3 +152,4 @@ obj-$(CONFIG_IIO) += iio/
obj-$(CONFIG_VME_BUS) += vme/
obj-$(CONFIG_IPACK_BUS) += ipack/
obj-$(CONFIG_NTB) += ntb/
obj-$(CONFIG_FMC) += fmc/
# FMC (ANSI-VITA 57.1) bus support
menuconfig FMC
tristate "FMC support"
FMC (FPGA Mezzanine Carrier) is a mechanical and electrical
standard for mezzanine cards that plug into a carrier board.
This kernel subsystem supports the matching between carrier
and mezzanine based on identifiers stored in the internal I2C
EEPROM, as well as having carrier-independent drivers.
The framework was born outside of the kernel and at this time
the off-tree code base is more complete. Code and documentation
is at git:// .
obj-$(CONFIG_FMC) += fmc.o
fmc-y = fmc-core.o
/* Temporary placeholder so the empty code can build */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
static struct bus_type fmc_bus_type = {
.name = "fmc",
static int fmc_init(void)
return bus_register(&fmc_bus_type);
static void fmc_exit(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment