UIO driver test

Gadre Nayan gadrenayan at gmail.com
Fri Apr 15 21:33:37 EDT 2016


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 at kroah.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160416/a6688fb5/attachment.html 


More information about the Kernelnewbies mailing list