Subject: CVS commit: src/sys/dev/mii
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 09/10/2003 05:25:24
Module Name:	src
Committed By:	briggs
Date:		Wed Sep 10 05:25:23 UTC 2003

Modified Files:
	src/sys/dev/mii: mii_physubr.c

Log Message:
It is best to allow a little time for the reset to settle in before
we start polling the BMCR again.  Greg Woods noted on tech-net@
that the DP83840A manual states that there should be a 500us delay
between asserting software reset and attempting MII serial operations.

I've also noted that a DP83815 can get into a bad state on cable
removal and reinsertion if we do not delay here.

This may well address PR/16346, and I seem to recall occasional
reports of auto-negotiation and flaky kinds of errors that this
might also alleviate.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/sys/dev/mii/mii_physubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.