Change the autonegotiation waiting period from 3 seconds to 5. This

delay controls how long the driver waits for autonegotiation to
complete after setting the 'autoneg restart bit' in a PHY. In some
cases, it seems 3 seconds is not long enough: with 3c905-TX cards
(external PHY), you sometimes see 'autoneg not complete; no carrier'
errors due to the timeout being too short. (3c905B adapters seem to
be happy with 3 seconds though.)
This commit is contained in:
Bill Paul 1998-08-30 22:24:18 +00:00
parent 0451ac36bd
commit 11f73a416e

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_xl.c,v 1.44 1998/08/23 21:30:02 wpaul Exp $
* $Id: if_xl.c,v 1.5 1998/08/24 17:51:38 wpaul Exp $
*/
/*
@ -124,7 +124,7 @@
#ifndef lint
static char rcsid[] =
"$Id: if_xl.c,v 1.44 1998/08/23 21:30:02 wpaul Exp $";
"$Id: if_xl.c,v 1.5 1998/08/24 17:51:38 wpaul Exp $";
#endif
/*
@ -786,7 +786,7 @@ static void xl_autoneg_mii(sc, flag, verbose)
return;
}
xl_autoneg_xmit(sc);
ifp->if_timer = 3;
ifp->if_timer = 5;
sc->xl_autoneg = 1;
sc->xl_want_auto = 0;
return;