Q:uio_generic_pci

From: Ran Shalit
Date: Tue Feb 06 2018 - 06:00:04 EST


Hello,

I would please like to ask about uio_generic_pci :

1. I have some misunderstanding as to how to set irq from userspace.
Is there anything similar to echo "3" >
/sys/bus/pci/drivers/uio_pci_generic/irq ?

In all documentation which talk about it, it is not mentioned (or I
don't find it):
https://github.com/rumpkernel/wiki/wiki/Howto:-Accessing-PCI-devices-from-userspace
http://www.hep.by/gnu/kernel/uio-howto/uio_pci_generic.html

2. Is there a way to use dma from userspace with this driver ?

Best Regards,
Ran