<p dir="ltr">I am trying to replicate the igb_uio for realtek card on my system. I saw the igb_uio source and it uses no ID table.</p>
<p dir="ltr">Struct pci_driver igb_pci_driver = {<br>
.id_table = NULL;<br>
};</p>
<p dir="ltr">So I wanted to understand the mechanism by which the igb_uio binds to a igb network card driver.</p>
<div class="gmail_quote">On 15 Apr 2016 7:51 p.m., "Greg KH" <<a href="mailto:greg@kroah.com">greg@kroah.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 15, 2016 at 07:45:16PM +0530, Gadre Nayan wrote:<br>
> Sorry I am completely out of sort here,<br>
><br>
> should I register it on a PCI bus without any ID table?<br>
<br>
What exactly will that do? You have to have a ID of a PCI device in<br>
order to properly bind to it, correct?<br>
<br>
Do you have a device you want to write a UIO driver for? If not, you<br>
aren't going to get very far :)<br>
<br>
greg k-h<br>
</blockquote></div>