[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47B415D3.6020200@eptar.com>
Date: Thu, 14 Feb 2008 11:20:03 +0100
From: Claudio Lanconelli <lanconelli.claudio@...ar.com>
To: netdev@...r.kernel.org
CC: Jeff Garzik <jgarzik@...ox.com>,
David Brownell <david-b@...bell.net>
Subject: [PATCH] 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@...rs.sourceforge.net>
Signed-off-by: Claudio Lanconelli <lanconelli.claudio@...ar.com>
View attachment "enc28j60_lowpower.patch" of type "text/x-patch" (4623 bytes)
Powered by blists - more mailing lists