FMC: add core bus driver
authorAlessandro Rubini <rubini@gnudd.com>
Tue, 18 Jun 2013 21:47:13 +0000 (23:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2013 22:36:56 +0000 (15:36 -0700)
commit77864f2e0a824a92bd93b4c9ad22c31d28ff55a6
tree04748bc59eebcb9c127c33b897a7abb216044a3b
parent7b175c46720f8e6b92801bb634c93d1016f80c62
FMC: add core bus driver

This module offers registration services for both carriers
(i.e. devices) and mezzanines (i.e. drivers). The matching for devices
and drivers is performed according to the IPMI standard for FRU
devices (Field Replaceable Units).

The code includes support for parsing an SDB tree if present in the FPGA,
and dumping it for diagnostics. SDB is not mandatory.

Files in this commit correspond to commit ab23167f in the master branch
of the project hosted on ohwr.org.

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>
drivers/fmc/Makefile
drivers/fmc/fmc-core.c
drivers/fmc/fmc-dump.c [new file with mode: 0644]
drivers/fmc/fmc-match.c [new file with mode: 0644]
drivers/fmc/fmc-sdb.c [new file with mode: 0644]
drivers/fmc/fru-parse.c [new file with mode: 0644]