[PATCH] Make ipw2200 interface "down" by default

Zhu Yi <[email protected]> Fri, 28 Sep 2007 14:26:13 +0800
Newsgroups gmane.linux.drivers.ipw2100.devel
Organization Intel Corp.
Message-ID <[email protected]>
Hi,

Here is a patch[1] to make ipw2200 interface "down" by default. This
patch moves the firmware loading and card initialization from dev->init
to dev->open and de-initialize it in dev->close. This makes the ipw2200
card consume much less power when it is not used. Hence the patch makes
users and PowerTop[2] happy.

If you'd like to help, please try this patch. Note after loading the
module, (if there is no other network daemons like NetworkManager in the
background), you need to open the interface manually. f.e. `ifconfig
eth1 up` before using the interface. The benefit is: if you are not
using the wireless interface, bring it down (manually or via some
scripts), it will consume much less power.

[1]:http://ipw2200.sourceforge.net/patches/ipw2200-1.2.2-close_intf.patch
[2]:http://www.linuxpowertop.org/

Thanks,
-yi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/