cxgb4: print port information after registering each netdev
authorDimitris Michailidis <dm@chelsio.com>
Tue, 14 Dec 2010 21:36:48 +0000 (21:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 21:16:01 +0000 (13:16 -0800)
commit118969ed21b6895045b0a5a8a32feac1c9341096
tree2901197d1105edea93cf72c6e71b34d74f0609eb
parent7d5e77aafa39f3210b6273a44fe07508e837c3cb
cxgb4: print port information after registering each netdev

Print information about each port when its netdev is registered instead
of looping separately over the ports at the end.  The bulk of this patch
is due to indentation change.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c