svn commit: r321203 - head/sys/dev/bxe

Andrey V. Elsukov ae at FreeBSD.org
Wed Jul 19 14:21:31 UTC 2017


Author: ae
Date: Wed Jul 19 14:21:29 2017
New Revision: 321203
URL: https://svnweb.freebsd.org/changeset/base/321203

Log:
  Add HPE FlexFabric 10Gb 4-port 536FLR-T device id to the bxe(4) driver.
  
  Tested by:	David Miguel Almas <dmalmas gmail com>
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D11478

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

Modified: head/sys/dev/bxe/bxe.c
==============================================================================
--- head/sys/dev/bxe/bxe.c	Wed Jul 19 14:15:49 2017	(r321202)
+++ head/sys/dev/bxe/bxe.c	Wed Jul 19 14:21:29 2017	(r321203)
@@ -167,6 +167,12 @@ static struct bxe_device_type bxe_devs[] = {
         "QLogic NetXtreme II BCM57840 4x10GbE"
     },
     {
+        QLOGIC_VENDORID,
+        CHIP_NUM_57840_4_10,
+        PCI_ANY_ID, PCI_ANY_ID,
+        "QLogic NetXtreme II BCM57840 4x10GbE"
+    },
+    {
         BRCM_VENDORID,
         CHIP_NUM_57840_2_20,
         PCI_ANY_ID, PCI_ANY_ID,

Modified: head/sys/dev/bxe/bxe.h
==============================================================================
--- head/sys/dev/bxe/bxe.h	Wed Jul 19 14:15:49 2017	(r321202)
+++ head/sys/dev/bxe/bxe.h	Wed Jul 19 14:21:29 2017	(r321203)
@@ -168,6 +168,7 @@ int bxe_ilog2(int x)
 #include "ecore_sp.h"
 
 #define BRCM_VENDORID 0x14e4
+#define	QLOGIC_VENDORID	0x1077
 #define PCI_ANY_ID    (uint16_t)(~0U)
 
 struct bxe_device_type


More information about the svn-src-head mailing list