On Mon, Jul 31, 2006 at 09:17:28AM -0700, Stephen Hemminger wrote:

> > During a Power Management session at the Ottawa Linux Symposium, it was
> > generally agreed that network interface drivers ought to automatically
> > suspend their devices (if possible) whenever:
> > 
> >     (1) The interface is ifconfig'ed down, or
> > 
> >     (2) No link is available.
> 
> This is hard because most of the power may be consumed by the PHY
> interface and it needs to be alive to see link.

At least some Davicom PHYs (IIRC) have an 'energy detect' bit, which
allows you to very quickly see whether there is a link partner without
waiting for autonegotiation to complete.

So, you could just power on the PHY only once every couple of seconds,
and instantly power it down again if the 'energy detect' bit doesn't go
on within some short time interval.


cheers,
Lennert
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to