mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Minor tweak for last commit: insert extra delay between issuing master
reset and RX/TX resets.
This commit is contained in:
parent
badaf18d92
commit
5a58e7fbc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49389
@ -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.48 1999/07/23 02:06:57 wpaul Exp $
|
||||
* $Id: if_xl.c,v 1.49 1999/08/02 21:06:16 wpaul Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -163,7 +163,7 @@
|
||||
|
||||
#if !defined(lint)
|
||||
static const char rcsid[] =
|
||||
"$Id: if_xl.c,v 1.48 1999/07/23 02:06:57 wpaul Exp $";
|
||||
"$Id: if_xl.c,v 1.49 1999/08/02 21:06:16 wpaul Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -1261,6 +1261,8 @@ static void xl_reset(sc)
|
||||
if (i == XL_TIMEOUT)
|
||||
printf("xl%d: reset didn't complete\n", sc->xl_unit);
|
||||
|
||||
DELAY(100000);
|
||||
|
||||
/* Reset TX and RX. */
|
||||
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_RESET);
|
||||
xl_wait(sc);
|
||||
|
Loading…
Reference in New Issue
Block a user