tg3: Fix AC131 loopback test errors for 5785
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 12 Feb 2010 14:47:12 +0000 (14:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2010 01:05:55 +0000 (17:05 -0800)
commit1061b7c56482310bbb8197045d51e2986afabfce
tree379f9faa46dc45f1bea5c630ac83090b805bcfcd
parentc88734054e787542ea093b02120e324e92cad882
tg3: Fix AC131 loopback test errors for 5785

The AC131 does not enable the forced transmit clock settings
immediately.  The workaround is to read the register again to get the
setting to take effect.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h