[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH_-1qxtAORrqcBFqKUa_5xn-6h6j25P7BMgVkJr3pL+z2GnUg@mail.gmail.com>
Date: Fri, 28 Jun 2019 10:54:54 -0700
From: Catherine Sullivan <csully@...gle.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org, Sagi Shahar <sagis@...gle.com>,
Jon Olson <jonolson@...gle.com>,
Willem de Bruijn <willemb@...gle.com>,
Luigi Rizzo <lrizzo@...gle.com>
Subject: Re: [net-next 1/4] gve: Add basic driver framework for Compute Engine
Virtual NIC
On Wed, Jun 26, 2019 at 12:35 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> On Wed, Jun 26, 2019 at 11:52:48AM -0700, Catherine Sullivan wrote:
> > Add a driver framework for the Compute Engine Virtual NIC that will be
> > available in the future.
> >
> > +static int __init gvnic_init_module(void)
> > +{
> > + return pci_register_driver(&gvnic_driver);
> > +}
> > +
> > +static void __exit gvnic_exit_module(void)
> > +{
> > + pci_unregister_driver(&gvnic_driver);
> > +}
> > +
> > +module_init(gvnic_init_module);
> > +module_exit(gvnic_exit_module);
>
> module_pci_driver()?
>
> Andrew
Will fix in v2.
Powered by blists - more mailing lists