Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2006 00:39:25 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110845 for review
Message-ID:  <200612020039.kB20dP2O092238@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110845

Change 110845 by mjacob@newisp on 2006/12/02 00:39:01

	Thumbtwiddle whitespace.

Affected files ...

.. //depot/projects/newisp/dev/mpt/mpt.c#4 edit

Differences ...

==== //depot/projects/newisp/dev/mpt/mpt.c#4 (text+ko) ====

@@ -894,7 +894,7 @@
 mpt_wait_db_int(struct mpt_softc *mpt)
 {
 	int i;
-	for (i=0; i < MPT_MAX_WAIT; i++) {
+	for (i = 0; i < MPT_MAX_WAIT; i++) {
 		if (MPT_DB_INTR(mpt_rd_intr(mpt))) {
 			maxwait_int = i > maxwait_int ? i : maxwait_int;
 			return MPT_OK;
@@ -1365,7 +1365,7 @@
 
 	/* Wait for the chip to notice */
 	if (mpt_wait_db_int(mpt) != MPT_OK) {
-		mpt_prt(mpt, "mpt_send_handshake_cmd timeout1\n");
+		mpt_prt(mpt, "mpt_send_handshake_cmd: db ignored\n");
 		return (ETIMEDOUT);
 	}
 
@@ -1373,7 +1373,7 @@
 	mpt_write(mpt, MPT_OFFSET_INTR_STATUS, 0);
 
 	if (mpt_wait_db_ack(mpt) != MPT_OK) {
-		mpt_prt(mpt, "mpt_send_handshake_cmd timeout2\n");
+		mpt_prt(mpt, "mpt_send_handshake_cmd: db ack timed out\n");
 		return (ETIMEDOUT);
 	}
 
@@ -1382,8 +1382,7 @@
 		mpt_write(mpt, MPT_OFFSET_DOORBELL, htole32(*data32++));
 		if (mpt_wait_db_ack(mpt) != MPT_OK) {
 			mpt_prt(mpt,
-				"mpt_send_handshake_cmd timeout! index = %d\n",
-				i);
+			    "mpt_send_handshake_cmd: timeout @ index %d\n", i);
 			return (ETIMEDOUT);
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612020039.kB20dP2O092238>