fpga: dfl-pci: add enumeration for feature devices
authorWu Hao <[email protected]>
Sat, 30 Jun 2018 00:53:20 +0000 (08:53 +0800)
committerGreg Kroah-Hartman <[email protected]>
Sun, 15 Jul 2018 11:55:45 +0000 (13:55 +0200)
commit968b8199e2585ac4435e2b73af81201e20859c36
treee8b75826b7e02a87f8efdccceaad279691ea57da
parent72ddd9f34040a49a221c0d5d1754061e007a10e6
fpga: dfl-pci: add enumeration for feature devices

The Device Feature List (DFL) is implemented in MMIO and features
are linked via the DFLs. This patch enables pcie driver to prepare
enumeration information (e.g. locations of all device feature lists
in MMIO) and use common APIs provided by the Device Feature List
framework to enumerate each feature device linked.

Signed-off-by: Tim Whisonant <[email protected]>
Signed-off-by: Enno Luebbers <[email protected]>
Signed-off-by: Shiva Rao <[email protected]>
Signed-off-by: Christopher Rauer <[email protected]>
Signed-off-by: Zhang Yi <[email protected]>
Signed-off-by: Xiao Guangrong <[email protected]>
Signed-off-by: Wu Hao <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/fpga/dfl-pci.c