]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Refactor t4_port_init function
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 26 Apr 2016 14:40:26 +0000 (20:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 17:23:57 +0000 (13:23 -0400)
commit3051b2a93a7d66420fe9ea6b956b392d55e375a4
tree971123ba1290d943ae0dc700e3db69e8cb2b9a81
parentd66ca60efdbcbd975f668bff6f231f77357e1f0d
cxgb4: Refactor t4_port_init function

Refactor t4_port_init() so that the core functionality is done by
t4_init_portinfo() for a particular port. Also rename variables to
sensible ones.

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/t4_hw.c