improve the error messages for IE_TDR_OPEN & IE_TDR_SHORT

This commit is contained in:
jdolecek 2001-03-10 19:59:13 +00:00
parent a557028a27
commit c0d40387a0
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: i82586.c,v 1.34 2001/01/22 22:28:45 bjh21 Exp $ */
/* $NetBSD: i82586.c,v 1.35 2001/03/10 19:59:13 jdolecek Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -147,7 +147,7 @@ Mode of operation:
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.34 2001/01/22 22:28:45 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.35 2001/03/10 19:59:13 jdolecek Exp $");
#include <sys/systm.h>
#include <sys/mbuf.h>
@ -1368,10 +1368,10 @@ ie_run_tdr(sc, cmd)
else if (result & IE_TDR_XCVR)
printf("%s: transceiver problem\n", sc->sc_dev.dv_xname);
else if (result & IE_TDR_OPEN)
printf("%s: TDR detected an open %d clocks away\n",
printf("%s: TDR detected incorrect termination %d clocks away\n",
sc->sc_dev.dv_xname, result & IE_TDR_TIME);
else if (result & IE_TDR_SHORT)
printf("%s: TDR detected a short %d clocks away\n",
printf("%s: TDR detected a short circuit %d clocks away\n",
sc->sc_dev.dv_xname, result & IE_TDR_TIME);
else
printf("%s: TDR returned unknown status 0x%x\n",