tg3 / broadcom: Optionally disable TXC if no link
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Nov 2009 14:32:38 +0000 (14:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 07:39:15 +0000 (23:39 -0800)
commit52fae0837153e86e4dabaf5df517a0b8b7a20bd7
tree72259bf0230f7facdbf6d928f8f1f662a133e10b
parentc704dc23cac0e433796bfe0a1fe2f1a64da11ac7
tg3 / broadcom: Optionally disable TXC if no link

This patch adds code to disable the TXC and RXC reference clocks if link
is not available.

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/phy/broadcom.c
drivers/net/tg3.c
include/linux/brcmphy.h