PERFORCE change 167615 for review

Alexander Motin mav at FreeBSD.org
Sat Aug 22 16:25:15 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=167615

Change 167615 by mav at 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);


More information about the p4-projects mailing list