Hi!
> + nr = ida_simple_get(&fpga_mgr_ida, start, FPGA_MAX_MINORS, GFP_KERNEL);
> +
Actually, are you sure ida framework is a good idea here? AFAICT, you
only use it to keep track of used minors.
pavel
--
(english) http://www.
Hi!
> +static int fpga_mgr_get_new_minor(struct fpga_manager *mgr, int request_nr)
> +{
> + int nr, start;
> +
> + /* check specified minor number */
> + if (request_nr >= FPGA_MAX_MINORS) {
> + dev_err(mgr->parent, "Out of device minors (%d)\n", request_nr);
> +
From: Alan Tull
This core exports methods of doing operations on FPGAs.
EXPORT_SYMBOL_GPL(fpga_mgr_write);
Write FPGA given a buffer and count.
EXPORT_SYMBOL_GPL(fpga_mgr_firmware_write);
Request firmware and write that to a fpga
EXPORT_SYMBOL_GPL(fpga_mgr_status_get);
Get a status strin
3 matches
Mail list logo