svn commit: r308284 - in stable/10/sys/dev/cxgbe: . common

John Baldwin jhb at FreeBSD.org
Fri Nov 4 04:06:57 UTC 2016


Author: jhb
Date: Fri Nov  4 04:06:55 2016
New Revision: 308284
URL: https://svnweb.freebsd.org/changeset/base/308284

Log:
  MFC 295573: Remove duplicate definition (CPL_TRACE_PKT_T5).
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/10/sys/dev/cxgbe/common/t4_msg.h
  stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/common/t4_msg.h
==============================================================================
--- stable/10/sys/dev/cxgbe/common/t4_msg.h	Fri Nov  4 04:01:59 2016	(r308283)
+++ stable/10/sys/dev/cxgbe/common/t4_msg.h	Fri Nov  4 04:06:55 2016	(r308284)
@@ -126,7 +126,6 @@ enum {
 	CPL_RDMA_IMM_DATA_SE  = 0xAD,
 
 	CPL_TRACE_PKT         = 0xB0,
-	CPL_TRACE_PKT_T5      = 0x48,
 	CPL_RX2TX_DATA        = 0xB1,
 	CPL_ISCSI_DATA        = 0xB2,
 	CPL_FCOE_DATA         = 0xB3,

Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c	Fri Nov  4 04:01:59 2016	(r308283)
+++ stable/10/sys/dev/cxgbe/t4_main.c	Fri Nov  4 04:06:55 2016	(r308284)
@@ -717,7 +717,7 @@ t4_attach(device_t dev)
 		sc->fw_msg_handler[i] = fw_msg_not_handled;
 	t4_register_cpl_handler(sc, CPL_SET_TCB_RPL, t4_filter_rpl);
 	t4_register_cpl_handler(sc, CPL_TRACE_PKT, t4_trace_pkt);
-	t4_register_cpl_handler(sc, CPL_TRACE_PKT_T5, t5_trace_pkt);
+	t4_register_cpl_handler(sc, CPL_T5_TRACE_PKT, t5_trace_pkt);
 	t4_init_sge_cpl_handlers(sc);
 
 	/* Prepare the adapter for operation */


More information about the svn-src-stable-10 mailing list