cxgb4/cxgb4vf: Cleanup macros, add comments and add new MACROS
authorHariprasad Shenai <hariprasad@chelsio.com>
Mon, 11 May 2015 23:13:43 +0000 (04:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 03:11:40 +0000 (23:11 -0400)
commit1ecc7b7a5998eb8fc4e9f79979638e77436b0b0b
tree4977b5551f46293ec2ca79bcdbe4cc355fbe5264
parent82fa3c776e5abba7ed6e4b4f4983d14731c37d6a
cxgb4/cxgb4vf: Cleanup macros, add comments and add new MACROS

Cleanup few MACROS left out in t4_hw.h to be consistent with the
existing ones. Also replace few hardcoded values with MACROS. Also
update comments for some code

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