25 Jul, 2019
1 commit
-
Make alt_pr_unregister function void, since it always returns 0,
and nothing would act on the value anyways.Signed-off-by: Moritz Fischer
16 Oct, 2018
1 commit
-
Add devm_fpga_mgr_create() which is the managed
version of fpga_mgr_create().Change current FPGA manager drivers to use
devm_fpga_mgr_create()Signed-off-by: Alan Tull
Suggested-by: Federico Vaga
Acked-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
26 May, 2018
2 commits
-
Replace GPLv2 boilerplate with SPDX in FPGA code that came from me or
from Altera.Signed-off-by: Alan Tull
Signed-off-by: Greg Kroah-Hartman -
Change fpga_mgr_register to not set or use drvdata. This supports
the case where a PCIe device has more than one manager.Add fpga_mgr_create/free functions. Change fpga_mgr_register and
fpga_mgr_unregister functions to take the mgr struct as their only
parameter.struct fpga_manager *fpga_mgr_create(struct device *dev,
const char *name,
const struct fpga_manager_ops *mops,
void *priv);
void fpga_mgr_free(struct fpga_manager *mgr);
int fpga_mgr_register(struct fpga_manager *mgr);
void fpga_mgr_unregister(struct fpga_manager *mgr);Update the drivers that call fpga_mgr_register with the new API.
Signed-off-by: Alan Tull
[Moritz: Fixup whitespace issue]
Reported-by: Jiuyue Ma
Signed-off-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
08 Apr, 2017
1 commit
-
Adding the core functions necessary for a fpga-mgr driver
for the Altera Partial IP component. It is intended for
these functions to be used by the various bus implementations
like the platform bus or the PCIe bus.Signed-off-by: Matthew Gerlach
Acked-by: Alan Tull
Signed-off-by: Greg Kroah-Hartman