mcb: Added bar descriptor support for non PCI bus MCB carrier
authorAndreas Werner <andreas.werner@men.de>
Fri, 26 Aug 2016 07:34:58 +0000 (09:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:16:24 +0000 (13:16 +0200)
commitffc7bb3857e42acab131271e485735cbf673d0f0
tree8747ff47afd68f8aa5ba40c93fa001d08521e9bb
parent73edc8f7cceffe537d6888dc20703123769eb3f6
mcb: Added bar descriptor support for non PCI bus MCB carrier

Added support for the bar descriptor. This type is used for FPGAs
connect to the LPC or to a non PCI bus.

The Bar descriptor could have a maximum of 6 BARs. Each of the
devices within the FPGA could be mapped to a different BAR.
The BAR descriptor is comparable to the PCI header.

Signed-off-by: Andreas Werner <andreas.werner@men.de>
[ free bar descriptor in the non-error case ]
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-internal.h
drivers/mcb/mcb-parse.c