Hi,

In order to simplify our network management, I've been asked to modify
the igb and ixgbe drivers so that the far end doesn't detect link
carrier when the local devices are downed using "ifdown" or equivalent.

We have two types of devices, 82576 and 82599 (using XAUI).

On the 82576 I'm using the PCTRL register.  I'm setting bit 11 (power
down phy), clearing bit 12 (disabling autonegotiation), and then setting
bit 9 (restarting autonegotiation).  This seems to work--are there any
gotchas of which I should be aware, or any better options?

On the 82599 I can't find any way to disable the XAUI link as such.  I
tried telling it to use a different protocol to force a mismatch but
this resulted in the device itself losing carrier, but the far end still
claiming to see carrier.  (Specifically, I tried changing the
IXGBE_AUTOC_LMS_10G_LINK_NO_AN bits in AUTOC to
IXGBE_AUTOC_LMS_10G_SERIAL and then set the IXGBE_AUTOC_AN_RESTART bit.
 I've tried other LMS bits as well as various 10G_PMA_PMD_PARALLEL bits
but they all behaved the same.)  Is there a "proper" way to shut down
the MAUI interface such that the other end cannot possibly detect a link
as present?

Thanks,

Chris

-- 
Chris Friesen
Software Developer
GENBAND
[email protected]
www.genband.com

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to