diff options
author | Wu Hao <hao.wu@intel.com> | 2018-06-30 08:53:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-15 13:55:44 +0200 |
commit | ecb5fbe299dfaad778033259f35bc696fa1fb743 (patch) | |
tree | 6a3db26d67f707197718d8b772f19fbca8fe8e5c /block | |
parent | 571d78bd458a831cf51dff2afa1dda3309bd82b2 (diff) | |
download | lwn-ecb5fbe299dfaad778033259f35bc696fa1fb743.tar.gz lwn-ecb5fbe299dfaad778033259f35bc696fa1fb743.zip |
fpga: mgr: add status for fpga-manager
This patch adds status sysfs interface for fpga manager, it's a
read only interface which allows user to get fpga manager status,
including full/partial reconfiguration error and other status
information. It adds a status callback to fpga_manager_ops too,
allows each fpga_manager driver to define its own method to
collect latest status from hardware.
The following sysfs file is created:
* /sys/class/fpga_manager/<fpga>/status
Return status of fpga manager, including reconfiguration errors.
Signed-off-by: Wu Hao <hao.wu@intel.com>
Acked-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions