Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2020 15:20:01 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367803 - head/sys/dev/ena
Message-ID:  <202011181520.0AIFK1S1035197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mw
Date: Wed Nov 18 15:20:01 2020
New Revision: 367803
URL: https://svnweb.freebsd.org/changeset/base/367803

Log:
  Rename descriptions of the supported ENA devices
  
  Some of the PCI ID were described as ENA with LLQ support - it's not
  fully accurate and because of that, their names were changed.
  
  Instead of LLQ, use RSERV0 for the description of those devices.
  
  Submitted by:   Michal Krawczyk <mk@semihalf.com>
  Obtained from:  Semihalf
  Sponsored by:   Amazon, Inc
  MFC after:      1 week
  Differential revision:  https://reviews.freebsd.org/D27119

Modified:
  head/sys/dev/ena/ena.c
  head/sys/dev/ena/ena.h

Modified: head/sys/dev/ena/ena.c
==============================================================================
--- head/sys/dev/ena/ena.c	Wed Nov 18 15:17:55 2020	(r367802)
+++ head/sys/dev/ena/ena.c	Wed Nov 18 15:20:01 2020	(r367803)
@@ -179,9 +179,9 @@ static char ena_version[] = DEVICE_NAME DRV_MODULE_NAM
 
 static ena_vendor_info_t ena_vendor_info_array[] = {
     { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_PF, 0},
-    { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_LLQ_PF, 0},
+    { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_PF_RSERV0, 0},
     { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_VF, 0},
-    { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_LLQ_VF, 0},
+    { PCI_VENDOR_ID_AMAZON, PCI_DEV_ID_ENA_VF_RSERV0, 0},
     /* Last entry */
     { 0, 0, 0 }
 };

Modified: head/sys/dev/ena/ena.h
==============================================================================
--- head/sys/dev/ena/ena.h	Wed Nov 18 15:17:55 2020	(r367802)
+++ head/sys/dev/ena/ena.h	Wed Nov 18 15:20:01 2020	(r367803)
@@ -150,10 +150,10 @@
  */
 #define	PCI_VENDOR_ID_AMAZON	0x1d0f
 
-#define	PCI_DEV_ID_ENA_PF	0x0ec2
-#define	PCI_DEV_ID_ENA_LLQ_PF	0x1ec2
-#define	PCI_DEV_ID_ENA_VF	0xec20
-#define	PCI_DEV_ID_ENA_LLQ_VF	0xec21
+#define	PCI_DEV_ID_ENA_PF		0x0ec2
+#define	PCI_DEV_ID_ENA_PF_RSERV0	0x1ec2
+#define	PCI_DEV_ID_ENA_VF		0xec20
+#define	PCI_DEV_ID_ENA_VF_RSERV0	0xec21
 
 /*
  * Flags indicating current ENA driver state



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011181520.0AIFK1S1035197>