[TG3]: Prescaler fix
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 13 Nov 2007 05:18:04 +0000 (21:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 05:18:04 +0000 (21:18 -0800)
commitaa6c91fe5913faa2cd2a62de993a3130799412b1
treee3b320593d68b4542beedf496b365378519fb2d2
parent5f60891b80f1a0f0a0015b084f4838ae8b9637c7
[TG3]: Prescaler fix

Internal hardware timers become inaccurate after link events.  Clock
frequency switches performed by the CPMU fail to adjust timer
prescalers.  The fix is to detect core clock frequency changes during
link events and adjust the timer prescalers accordingly.

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