EMAC driver: add power down mode
authorVitja Makarov <vitja.makarov@gmail.com>
Wed, 30 Jan 2008 08:52:26 +0000 (16:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:50 +0000 (04:28 -0800)
commit136492b275e0dd02d842b94507d66267d18d341c
tree6c821b0105721afc61d862109bfe1b5bdb9884cd
parent6893ff1c7eeac73e2c3267e4270bdb64ec427a31
EMAC driver: add power down mode

This patch puts phy in power-down mode when interface is down.
Also we should think about energy detect power-down mode, that will
decrease power consumption when no link.

Signed-off-by: Vitja Makarov <vitja.makarov@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c