]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tg3: 5785: Set port mode to MII when link down
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Nov 2009 14:27:02 +0000 (14:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 07:39:07 +0000 (23:39 -0800)
commitc3df0748ee43101dfc5c94d1f61ddfca0ff5baa4
tree4359acf03c51dd18ff512ee4b44674c3ca885ec5
parent0e5f784c77197edf29d2770b518dc78777d5a480
tg3: 5785: Set port mode to MII when link down

This patch sets the port mode to MII when the link is down for the 5785.
Setting the port mode to MII instead of GMII saves power.

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