cxgb4: Much cleaner implementation of is_t4()/is_t5()
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 3 Dec 2013 11:35:56 +0000 (17:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Dec 2013 21:55:40 +0000 (16:55 -0500)
commitd14807dd8e7eaa41a8fee5fc3acbdaf2a0258b76
tree069fd7c30e44064cb7235ab35bb3d25a84445ce0
parent1b85ee09aac2f32f24b8db72eb152089b92ace87
cxgb4: Much cleaner implementation of is_t4()/is_t5()

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h