Skip to contentSkip to conversation

cxgb4i : Move stray CPL definitions to cxgb4 driver

PATCH Applied Anish Bhatt 2 participants 2 messages Aug 4, 2014 – Aug 5, 2014

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxgb4i : Move stray CPL definitions to cxgb4 driver

These belong to the t4 msg header, will ensure there is no accidental code duplication in the future

---
 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 2 ++
 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c          | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h +2 -0
index 0259feeab1b3..52e08103f221 100644
@@ -75,6 +75,7 @@ enum {
 	CPL_RX_DATA_DDP       = 0x42,
 	CPL_PASS_ACCEPT_REQ   = 0x44,
 	CPL_TRACE_PKT_T5      = 0x48,
+	CPL_RX_ISCSI_DDP      = 0x49,
 
 	CPL_RDMA_READ_REQ     = 0x60,
 
@@ -86,6 +87,7 @@ enum {
 	CPL_SGE_EGR_UPDATE    = 0xA5,
 
 	CPL_TRACE_PKT         = 0xB0,
+	CPL_ISCSI_DATA	      = 0xB2,
 
 	CPL_FW4_MSG           = 0xC0,
 	CPL_FW4_PLD           = 0xC1,
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +0 -2
index d31f9e600639..79788a12712d 100644
@@ -1384,8 +1384,6 @@ rel_resource:
 	return -EINVAL;
 }
 
-#define CPL_ISCSI_DATA		0xB2
-#define CPL_RX_ISCSI_DDP	0x49
 cxgb4i_cplhandler_func cxgb4i_cplhandlers[NUM_CPL_CMDS] = {
 	[CPL_ACT_ESTABLISH] = do_act_establish,
 	[CPL_ACT_OPEN_RPL] = do_act_open_rpl,
Signature · 1 line
2.0.3