net: phy: fix auto negotiation checking for teranetics
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 24 Jul 2015 11:26:02 +0000 (19:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:04:30 +0000 (01:04 -0700)
commit94724d102c829d9f2105b1cb6e831c99174cd49d
tree6d93c49323a6070d57744f763b3fb8674e844997
parent5a6228a0b472062646434cd2536d109c102b606e
net: phy: fix auto negotiation checking for teranetics

When using fiber port, the phy cannot report it's auto negotiation state,
driver should always report auto negotiation is done when using fiber port.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/teranetics.c