Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 16:25:15 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167615 for review
Message-ID:  <200908221625.n7MGPFYU098746@repoman.freebsd.org>

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

Change 167615 by mav@mav_mavbook on 2009/08/22 16:25:11

	Report scbus number, to not confuse users with only relative bus ID.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#98 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#98 (text+ko) ====

@@ -1033,11 +1033,12 @@
 	 * To ensure that this is printed in one piece,
 	 * mask out CAM interrupts.
 	 */
-	printf("%s%d at %s%d bus %d target %d lun %d\n",
+	printf("%s%d at %s%d bus %d scbus%d target %d lun %d\n",
 	       periph->periph_name, periph->unit_number,
 	       path->bus->sim->sim_name,
 	       path->bus->sim->unit_number,
 	       path->bus->sim->bus_id,
+	       path->bus->path_id,
 	       path->target->target_id,
 	       path->device->lun_id);
 	printf("%s%d: ", periph->periph_name, periph->unit_number);
@@ -4615,7 +4616,7 @@
 		work_ccb->ccb_h.func_code = XPT_PATH_INQ;
 		xpt_action(work_ccb);
 		if (work_ccb->ccb_h.status != CAM_REQ_CMP) {
-			printf("xptconfigfunc: CPI failed on bus %d "
+			printf("xptconfigfunc: CPI failed on scbus%d "
 			       "with status %d\n", bus->path_id,
 			       work_ccb->ccb_h.status);
 			xpt_finishconfig(xpt_periph, work_ccb);



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