nfp: use PCI_DEVICE_ID_NETRONOME_NFP6000_VF for VFs instead
The PCI_DEVICE_ID_NETRONOME_NFP6000_VF is available for use and should be used instead of the PCI_DEVICE_NFP6000VF. Meanwhile, PCI_DEVICE_NFP6000VF PCI ID is removed for not being used. Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: Fei Qin <fei.qin@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f6df1aa628
commit
113e962416
@ -36,9 +36,8 @@ struct nfp_net_vf {
|
||||
|
||||
static const char nfp_net_driver_name[] = "nfp_netvf";
|
||||
|
||||
#define PCI_DEVICE_NFP6000VF 0x6003
|
||||
static const struct pci_device_id nfp_netvf_pci_device_ids[] = {
|
||||
{ PCI_VENDOR_ID_NETRONOME, PCI_DEVICE_NFP6000VF,
|
||||
{ PCI_VENDOR_ID_NETRONOME, PCI_DEVICE_ID_NETRONOME_NFP6000_VF,
|
||||
PCI_VENDOR_ID_NETRONOME, PCI_ANY_ID,
|
||||
PCI_ANY_ID, 0,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user