diff options
author | David Brownell <david-b@pacbell.net> | 2008-06-12 21:38:06 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-17 23:07:29 -0400 |
commit | 7dac6f8df607929e51f4fd598d80bd009c45a9f8 (patch) | |
tree | 8b388f6fcbf9fbf6429f1f5ea2ac419abc30bedf /fs/jffs2/readinode.c | |
parent | 6fd65882f5e99972ba96f7cc92086ebac041cdf8 (diff) |
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 'fs/jffs2/readinode.c')
0 files changed, 0 insertions, 0 deletions