freebsd-dev/sys/dev/fxp
Pyun YongHyeon 6e854927d1 If RX lockup workaround is enabled, fxp(4) will periodically reset
the controller to workaround silicon bug of i82557. Each reset will
re-establish link which in turn triggers MII status change
callback. The callback will try to reconfigure controller if the
controller is not i82557 to enable flow-control. This caused
endless link UP/DOWN when the workaround was enabled on non-i82557
controller.

To fix the issue, apply RX lockup workaround only for i82557.
Previously it blindly checked undocumented EEPROM location such
that it sometimes enabled the workaround for other controllers. At
this time, only i82557 is known to have the silicon bug.
This fixes a regression introduced in r215906 which enabled flow
control support for all controllers except i82557.

Reported by:	Karl Denninger (karl <> denninger dot net)
Tested by:	Karl Denninger (karl <> denninger dot net)
MFC after:	3 days
2010-12-02 03:53:29 +00:00
..
if_fxp.c If RX lockup workaround is enabled, fxp(4) will periodically reset 2010-12-02 03:53:29 +00:00
if_fxpreg.h Fix and implement missing parts of flow control support. This also removes 2010-11-26 21:52:33 +00:00
if_fxpvar.h Fix and implement missing parts of flow control support. This also removes 2010-11-26 21:52:33 +00:00
rcvbundl.h