summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2013-06-18 23:48:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-18 15:42:15 -0700
commit4debfe409b6e550032bfef9733e9f6f7c5613617 (patch)
treec647e07600d964c6399e20f04c68ea8467c7b328 /drivers/fmc/Kconfig
parent6007b1bd0f752a5c022f7944c65fb96c39d6db3d (diff)
downloadop-kernel-dev-4debfe409b6e550032bfef9733e9f6f7c5613617.zip
op-kernel-dev-4debfe409b6e550032bfef9733e9f6f7c5613617.tar.gz
FMC: add a char-device mezzanine driver
This driver exports the memory area associated with the mezzanine card as a misc device, so users can access registers. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Acked-by: Juan David Gonzalez Cobas <dcobas@cern.ch> Acked-by: Emilio G. Cota <cota@braap.org> Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc/Kconfig')
-rw-r--r--drivers/fmc/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/fmc/Kconfig b/drivers/fmc/Kconfig
index 2bb1953..c01cf45 100644
--- a/drivers/fmc/Kconfig
+++ b/drivers/fmc/Kconfig
@@ -40,4 +40,12 @@ config FMC_WRITE_EEPROM
its binary and the function carrier->reprogram to actually do it.
It is useful when the mezzanines are produced.
+config FMC_CHARDEV
+ tristate "FMC mezzanine driver that registers a char device"
+ help
+ This driver matches every mezzanine device and allows user
+ space to read and write registers using a char device. It
+ can be used to write user-space drivers, or just get
+ aquainted with a mezzanine before writing its specific driver.
+
endif # FMC
OpenPOWER on IntegriCloud