tsec: Clean up Broadcom PHY status parsing
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 9 Nov 2009 19:09:44 +0000 (13:09 -0600)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 1 Feb 2010 06:34:34 +0000 (22:34 -0800)
commit27165b5c328464b706601b1cd586e359a3dc2f6d
treecddec2d9c85b32a0ad25bac041e04f0f5dd44bd8
parent46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4
tsec: Clean up Broadcom PHY status parsing

- Remove unnecessary printing "Enet starting in <speed>/<duplex>"
    This same information is already printed during normal ethernet
    operation in the form "Speed: 1000, full duplex".

- Add a check for link before determining link speed and duplex
    If there is no link, speed/duplex don't matter.  This also removes
    the annoying and unneeded "Auto-neg error, defaulting to 10BT/HD"
    message that occurs when no link is detected.

- Whitespace and line > 80 characters cleanup

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/tsec.c