OSDN Git Service

sky2: fix regression on Yukon Optima
authorstephen hemminger <shemminger@vyatta.com>
Fri, 4 Nov 2011 12:17:17 +0000 (12:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2011 22:19:43 +0000 (18:19 -0400)
commit27d240fdae2808d727ad9ce48ec029731a457524
tree67d1a401e21a4fdd1c7c3a798611140d65bebbea
parent4b6cc7284ddc9a54910f111085ebf0143ef3f5bd
sky2: fix regression on Yukon Optima

Changes to support other Optima types, introduced an accidental
regression that caused 88E8059 to come up in 10Mbit/sec.

The Yukon Optima supports a reverse auto-negotiation feature that
was incorrectly setup, and not needed. The feature could be used to
allow wake-on-lan at higher speeds. But doing it correctly would require
other changes to initialization.

Reported-by: Pavel Mateja <pavel@netsafe.cz>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/sky2.c