PERFORCE change 169519 for review

Alexander Motin mav at FreeBSD.org
Thu Oct 15 14:07:57 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=169519

Change 169519 by mav at mav_mavtest on 2009/10/15 14:07:09

	Clean debug messages a bit.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#10 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#10 (text+ko) ====

@@ -443,8 +443,8 @@
 		      pmp_default_timeout * 1000);
 		ata_pm_write_cmd(ataio, 2, softc->pm_step,
 		    (softc->found & (1 << softc->pm_step)) ? 0 : 1);
-printf("PM RESET %d %04x %d\n", softc->pm_step, softc->found,
-    (softc->found & (1 << softc->pm_step)) ? 0 : 1);
+printf("PM RESET %d%s\n", softc->pm_step,
+    (softc->found & (1 << softc->pm_step)) ? " skipping" : "");
 		break;
 	case PMP_STATE_CONNECT:
 		cam_fill_ataio(ataio,
@@ -706,7 +706,6 @@
 			xpt_release_ccb(done_ccb);
 			break;
 		}
-printf("XXX: scan %d %p %p\n", softc->pm_step, done_ccb, softc);
 		if (xpt_create_path(&dpath, periph,
 		    done_ccb->ccb_h.path_id,
 		    softc->pm_step, 0) != CAM_REQ_CMP) {


More information about the p4-projects mailing list