Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Per advice from thorpej, reinstated some of Erik'...



details:   https://anonhg.NetBSD.org/src/rev/0caf3288b06f
branches:  trunk
changeset: 494375:0caf3288b06f
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Thu Jul 06 01:17:38 2000 +0000

description:
Per advice from thorpej, reinstated some of Erik's changes.

diffstat:

 sys/dev/ic/isp.c |  19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diffs (75 lines):

diff -r 28280ebc3609 -r 0caf3288b06f sys/dev/ic/isp.c
--- a/sys/dev/ic/isp.c  Thu Jul 06 01:17:18 2000 +0000
+++ b/sys/dev/ic/isp.c  Thu Jul 06 01:17:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp.c,v 1.54 2000/07/05 22:20:51 mjacob Exp $ */
+/* $NetBSD: isp.c,v 1.55 2000/07/06 01:17:38 mjacob Exp $ */
 /*
  * Machine and OS Independent (well, as best as possible)
  * code for the Qlogic ISP SCSI adapters.
@@ -907,7 +907,7 @@
                u_int16_t sdf;
 
                if (sdp->isp_devparam[tgt].dev_enable == 0) {
-                       IDPRINTF(1, ("%s: skipping target %d bus %d settings\n",
+                       IDPRINTF(2, ("%s: skipping target %d bus %d settings\n",
                            isp->isp_name, tgt, channel));
                        continue;
                }
@@ -1499,8 +1499,6 @@
                 * asked for, restart the process entirely (up to a point...).
                 */
                if (pdb.pdb_loopid != loopid) {
-                       IDPRINTF(1, ("%s: wankage (%d != %d)\n",
-                           isp->isp_name, pdb.pdb_loopid, loopid));
                        loopid = 0;
                        if (lim++ < FL_PORT_ID) {
                                continue;
@@ -2138,7 +2136,7 @@
        }
 
        if (isp_getrqentry(isp, &iptr, &optr, (void **) &reqp)) {
-               IDPRINTF(1, ("%s: Request Queue Overflow\n", isp->isp_name));
+               IDPRINTF(2, ("%s: Request Queue Overflow\n", isp->isp_name));
                XS_SETERR(xs, HBA_BOTCH);
                return (CMD_EAGAIN);
        }
@@ -2167,7 +2165,7 @@
                        ISP_ADD_REQUEST(isp, iptr);
 
                        if (isp_getrqentry(isp, &iptr, &optr, (void **)&reqp)) {
-                               IDPRINTF(1, ("%s: Request Queue Overflow+\n",
+                               IDPRINTF(2, ("%s: Request Queue Overflow+\n",
                                    isp->isp_name));
                                XS_SETERR(xs, HBA_BOTCH);
                                return (CMD_EAGAIN);
@@ -2674,8 +2672,9 @@
                                XS_SNS_IS_VALID(xs);
                                sp->req_state_flags |= RQSF_GOT_SENSE;
                        } else if (XS_STS(xs) == SCSI_CHECK) {
-                               IDPRINTF(1, ("%s: check condition with no sense"
-                                   " data\n", isp->isp_name));
+                               IDPRINTF(2,
+                                   ("%s: check condition with no sense data\n",
+                                   isp->isp_name));
                        }
                }
                if (XS_NOERR(xs) && XS_STS(xs) == SCSI_BUSY) {
@@ -2942,7 +2941,7 @@
                isp->isp_sendmarker = 1;
                ((fcparam *) isp->isp_param)->isp_loopstate = LOOP_PDB_RCVD;
                isp_mark_getpdb_all(isp);
-               IDPRINTF(2, ("%s: Port Database Changed\n", isp->isp_name));
+               IDPRINTF(1, ("%s: Port Database Changed\n", isp->isp_name));
                break;
 
        case ASYNC_CHANGE_NOTIFY:
@@ -3835,7 +3834,7 @@
                int get;
 
                if (sdp->isp_devparam[tgt].dev_enable == 0) {
-                       IDPRINTF(1, ("%s: skipping target %d bus %d update\n",
+                       IDPRINTF(2, ("%s: skipping target %d bus %d update\n",
                            isp->isp_name, tgt, bus));
                        continue;
                }



Home | Main Index | Thread Index | Old Index