sfc: SFT9001: Fix speed reporting in 1G PHY loopback
commit8b9dc8dd447cfe27c0214761ced22a8e4aa58f5e
authorSteve Hodgson <shodgson@solarflare.com>
Thu, 29 Jan 2009 17:49:09 +0000 (29 17:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 22:06:29 +0000 (30 14:06 -0800)
tree2b7eb0523fe541647ca2e78f6c4c0742700c7959
parent2d18835d65b7433e7e6583f65395f8c01e7874af
sfc: SFT9001: Fix speed reporting in 1G PHY loopback

Instead of disabling AN in loopback, just prevent restarting AN and
override the speed in sft9001_get_settings().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/tenxpress.c
drivers/net/sfc/workarounds.h