Messages in this thread | | | Date | Fri, 8 Jun 2012 19:39:51 +0300 | From | "Michael S. Tsirkin" <> | Subject | Re: [PATCH] uio_pci_generic does not export memory resources |
| |
On Fri, Jun 08, 2012 at 06:23:19PM +0200, Dominic Eschweiler wrote: > Am Freitag, den 08.06.2012, 17:57 +0200 schrieb Hans J. Koch: > > What problem do you have with this approach? > > Nothing itself. There is obviously a documentation issue, which really > confuses people who are new to that stuff. I thought that fixing it, by > just adding a view lines of code (really a view, when I remove the DMA > masque part) might enhance this particular module. > > Anyway, what is wrong when the uio_pci_generic module works like > described in the related documentation?
Documentation says this:
Userspace driver can use pci sysfs interface, or the libpci libray that wraps it, to talk to the device and to re-enable interrupts by writing to the command register.
maybe we should make the point that *all* interaction with the device should be done via sysfs, explicit.
> -- > Gruß > Dominic > > Frankfurt Institute for Advanced Studies (FIAS) > Ruth-Moufang-Straße 1 > D-60438 Frankfurt am Main > Germany > > Phone: +49 (0) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |