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.
Struct pci_driver igb_pci_driver = {
.id_table = NULL;
};
So I wanted to understand the mechanism by which the igb_uio binds to a igb network card driver.
On 15 Apr 2016 7:51 p.m., "Greg KH" <greg@xxxxxxxxx> wrote:
On Fri, Apr 15, 2016 at 07:45:16PM +0530, Gadre Nayan wrote:
> Sorry I am completely out of sort here,
>
> should I register it on a PCI bus without any ID table?
What exactly will that do? You have to have a ID of a PCI device in
order to properly bind to it, correct?
Do you have a device you want to write a UIO driver for? If not, you
aren't going to get very far :)
greg k-h
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies