OSDN Git Service

net: thunderx: Add VNIC's PCI devid on future chips
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:25 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:29 +0000 (11:59 -0700)
commitf7ff0ae844128e669704860d8c9d1ff510cee271
tree4f7643106d0b84ade37a0bfe2730f6a36a8157b3
parenta5c3d4985eeaddee795e5a4cd71be35e5e149896
net: thunderx: Add VNIC's PCI devid on future chips

This patch adds PCI device IDs of VNIC on newer chips and also
registers VF driver with them. Device id remains same for all
versions of chips but subsystem device id changes.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_main.c