Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2017 14:21:30 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321203 - head/sys/dev/bxe
Message-ID:  <201707191421.v6JELUdM066366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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