tg3: Reduce 57765 core clock when link at 10Mbps
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 12 Apr 2010 06:58:26 +0000 (06:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 09:25:44 +0000 (02:25 -0700)
commita977dbe8445b8a81d6127c4aa9112a2c29a1a008
tree00120e7881eb329122d0d4ca06d4b90b6c8c0444
parent1a3190254c0d1d1951e1d7e93542387c6ec82384
tg3: Reduce 57765 core clock when link at 10Mbps

This patch reduces the core clock to 6.25MHz when operating at 10Mbps
link speed.  This is needed to prevent a bug that will ultimately cause
transmits to cease.

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