[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160920133741.GC13855@localhost>
Date: Tue, 20 Sep 2016 08:37:41 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Adit Ranadive <aditr@...are.com>
Cc: Yuval Shaia <yuval.shaia@...cle.com>,
"dledford@...hat.com" <dledford@...hat.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
pv-drivers <pv-drivers@...are.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"Jorgen S. Hansen" <jhansen@...are.com>,
Aditya Sarwade <asarwade@...are.com>,
George Zhang <georgezhang@...are.com>,
Bryan Tan <bryantan@...are.com>
Subject: Re: [PATCH v4 01/16] vmxnet3: Move PCI Id to pci_ids.h
On Wed, Sep 14, 2016 at 07:36:34PM +0000, Adit Ranadive wrote:
> On Wed, Sep 14, 2016 at 09:25:18 -0700, Yuval Shaia wrote:
> > On Wed, Sep 14, 2016 at 04:00:25PM +0000, Adit Ranadive wrote:
> > > On Wed, Sep 14, 2016 at 04:09:12 -0700, Yuval Shaia wrote:
> > > > Please update vmxnet3_drv.c accordingly.
> > >
> > > Any reason why? I don't think we need to. Vmxnet3 should just pick up
> > > the moved PCI device id from pci_ids.h file.
> >
> > So now you need to include it from vmxnet3_drv.c.
> > Same with pvrdma_main.c
>
> If you're asking me to include pci_ids.h in our drivers we already do that
> by including pci.h in both the drivers.
> pci.h already includes pci_ids.h -
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/linux/pci.h#n35
>
> If that's going to change maybe someone from the PCI group can comment on.
I don't contemplate a change there. It's fine to get pci_ids.h via pci.h.
Almost all drivers do that today. If we do change it someday, we can
change this driver along with all the rest.
Bjorn
Powered by blists - more mailing lists