[NIU]: Fix 1G PHY link state handling.
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2008 06:50:08 +0000 (22:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2008 09:49:30 +0000 (01:49 -0800)
commite415e6ea0cd36ece29c7b12232286b5ca097ac96
treeb7c792dca2765965647acc93501268d8e563b9c8
parentd2c7ddd6261eb885091cf6ddbcfae01f4216fb8e
[NIU]: Fix 1G PHY link state handling.

The code in link_status_1g() computes the active speed
and duplex but does not update the link config state
with those values.

As a result the link speed is not reported correctly
and the XIF is not reprogrammed properly on link up
events.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c