I have to develop a Linux Serial RapidIo Device Driver that runs on the ARM of Zynq7000 that uses as HW SRIO the FW loaded in the FPGA section of Zynq7000. I was inspired by the source ..../linux-xilinx-v2020.1/drivers/rapidio/devices/tsi721.c which however provides a probe-based pci interface.
static struct pci_driver tsi721_driver = {
.name = "tsi721",
.id_table = tsi721_pci_tbl,
.probe = tsi721_probe,
.remove = tsi721_remove,
.shutdown = tsi721_shutdown,
};
module_pci_driver(tsi721_driver)
In my case I don't have a PCI interface and therefore I don't have the probe function where I can setup the mport which records the rio_ops callbacks.
How can I do?
Thanks!