summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/ef100.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-08-03 21:40:01 +0100
committerDavid S. Miller <davem@davemloft.net>2020-08-03 18:22:55 -0700
commitd61592a112928a11cd04081adf51ba4f752859ed (patch)
tree028455813a1f058ccb994aab260ee88688a9e5c0 /drivers/net/ethernet/sfc/ef100.c
parentef2c57b956143c300adef4b89438e1da3db4cf32 (diff)
sfc_ef100: add nic-type for VFs, and bind to them
We don't yet have a .sriov_configure() to create them, though. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef100.c')
-rw-r--r--drivers/net/ethernet/sfc/ef100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef100.c b/drivers/net/ethernet/sfc/ef100.c
index de611c0f94e7..9729983f4840 100644
--- a/drivers/net/ethernet/sfc/ef100.c
+++ b/drivers/net/ethernet/sfc/ef100.c
@@ -527,6 +527,8 @@ fail:
static const struct pci_device_id ef100_pci_table[] = {
{PCI_DEVICE(PCI_VENDOR_ID_XILINX, 0x0100), /* Riverhead PF */
.driver_data = (unsigned long) &ef100_pf_nic_type },
+ {PCI_DEVICE(PCI_VENDOR_ID_XILINX, 0x1100), /* Riverhead VF */
+ .driver_data = (unsigned long) &ef100_vf_nic_type },
{0} /* end of list */
};