1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Writing userspace driver using uio_pci_generic</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Userspace I/O HOWTO"><link rel="up" href="uio_pci_generic.html" title="Chapter 5. Generic PCI UIO driver"><link rel="prev" href="uio_pci_generic_internals.html" title="Things to know about uio_pci_generic"><link rel="next" href="uio_pci_generic_example.html" title="Example code using uio_pci_generic"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Writing userspace driver using uio_pci_generic</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="uio_pci_generic_internals.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Generic PCI UIO driver</th><td width="20%" align="right"> <a accesskey="n" href="uio_pci_generic_example.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="uio_pci_generic_userspace"></a>Writing userspace driver using uio_pci_generic</h2></div></div></div><p> 2Userspace driver can use pci sysfs interface, or the 3libpci libray that wraps it, to talk to the device and to 4re-enable interrupts by writing to the command register. 5 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="uio_pci_generic_internals.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="uio_pci_generic.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="uio_pci_generic_example.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Things to know about uio_pci_generic </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Example code using uio_pci_generic</td></tr></table></div></body></html> 6