diff options
author | 2008-06-12 21:38:06 -0700 | |
---|---|---|
committer | 2008-06-17 23:07:29 -0400 | |
commit | 7dac6f8df607929e51f4fd598d80bd009c45a9f8 (patch) | |
tree | 8b388f6fcbf9fbf6429f1f5ea2ac419abc30bedf /net/unix/af_unix.c | |
parent | net/enc28j60: section fix (diff) | |
download | wireguard-linux-7dac6f8df607929e51f4fd598d80bd009c45a9f8.tar.xz wireguard-linux-7dac6f8df607929e51f4fd598d80bd009c45a9f8.zip |
net/enc28j60: low power mode
Keep enc28j60 chips in low-power mode when they're not in use.
At typically 120 mA, these chips run hot even when idle; this
low power mode cuts that power usage by a factor of around 100.
This version provides a generic routine to poll a register until
its masked value equals some value ... e.g. bit set or cleared.
It's basically what the previous wait_phy_ready() did, but this
version is generalized to support the handshaking needed to
enter and exit low power mode.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Claudio Lanconelli <lanconelli.claudio@eptar.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions