tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: please test: ethernet media-handling patch

On Thu, Jan 10, 2008 at 12:04:00PM -0500, Perry E. Metzger wrote:
> David Young <> writes:
> > nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs
> >         on a change of media
> So if I unplug a cable from a 100M network and put it into a 1G
> network, it won't reset and renegotiate? (Forgive me if I don't
> understand this properly.)

If the operator changes the media settings, then the NIC driver will call
ether_mediachange() -> mii_mediachg() -> (for each PHY) phy_service(,,
MII_MEDIACHG).  A PHY service routine will reset and isolate its PHY
if it is no longer selected.  If the PHY is selected, then the service
routine will either program the media type (e.g., IFM_ETHER|IFM_100_TX),
or begin auto-negotiation (IFM_AUTO).


David Young             OJC Technologies      Urbana, IL * (217) 278-3933 ext 24

Home | Main Index | Thread Index | Old Index