[SRU][Xenial][PATCH 2/2] sfc: Add PCI ID for Solarflare 8000 series 10/40G NIC

Mauricio Faria de Oliveira mauricio.oliveira at canonical.com
Tue Jul 24 16:15:12 UTC 2018


From: Bert Kenward <bkenward at solarflare.com>

BugLink: https://bugs.launchpad.net/bugs/1783152

Also add support for 7000 series 40G NIC VF.

Signed-off-by: Bert Kenward <bkenward at solarflare.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
(cherry picked from commit dd248f1bc65b49cba622a7e925d90d790e572996)
Signed-off-by: Mauricio Faria de Oliveira <mauricio.oliveira at canonical.com>
---
 drivers/net/ethernet/sfc/efx.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index a3c42a376741..c2ac7c906ab4 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -2785,6 +2785,12 @@ static const struct pci_device_id efx_pci_table[] = {
 	 .driver_data = (unsigned long) &efx_hunt_a0_vf_nic_type},
 	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0923),  /* SFC9140 PF */
 	 .driver_data = (unsigned long) &efx_hunt_a0_nic_type},
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x1923),  /* SFC9140 VF */
+	 .driver_data = (unsigned long) &efx_hunt_a0_vf_nic_type},
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0a03),  /* SFC9220 PF */
+	 .driver_data = (unsigned long) &efx_hunt_a0_nic_type},
+	{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x1a03),  /* SFC9220 VF */
+	 .driver_data = (unsigned long) &efx_hunt_a0_vf_nic_type},
 	{0}			/* end of list */
 };
 
-- 
2.17.1





More information about the kernel-team mailing list