From owner-cvs-all@FreeBSD.ORG Tue Dec 5 07:45:28 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBC8216A407; Tue, 5 Dec 2006 07:45:28 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6A9543CA5; Tue, 5 Dec 2006 07:44:50 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB57jSSa090879; Tue, 5 Dec 2006 07:45:28 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB57jSNE090878; Tue, 5 Dec 2006 07:45:28 GMT (envelope-from mjacob) Message-Id: <200612050745.kB57jSNE090878@repoman.freebsd.org> From: Matt Jacob Date: Tue, 5 Dec 2006 07:45:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/cam cam_periph.c cam_xpt.c cam_xpt.h src/sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c scsi_ses.c scsi_targ_bh.c scsi_target.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 07:45:28 -0000 mjacob 2006-12-05 07:45:28 UTC FreeBSD src repository Modified files: sys/cam cam_periph.c cam_xpt.c cam_xpt.h sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c scsi_ses.c scsi_targ_bh.c scsi_target.c Log: Add an xpt_print function to reduce most of the xpt_print_path/printf pairs. Convert the core code to use it. Reviewed by: scsi (various folks weighing in with good advice) MFC after: 2 weeks Revision Changes Path 1.64 +28 -38 src/sys/cam/cam_periph.c 1.170 +44 -44 src/sys/cam/cam_xpt.c 1.6 +1 -0 src/sys/cam/cam_xpt.h 1.97 +23 -31 src/sys/cam/scsi/scsi_cd.c 1.43 +15 -18 src/sys/cam/scsi/scsi_ch.c 1.200 +30 -35 src/sys/cam/scsi/scsi_da.c 1.45 +7 -11 src/sys/cam/scsi/scsi_pass.c 1.44 +4 -6 src/sys/cam/scsi/scsi_pt.c 1.107 +44 -52 src/sys/cam/scsi/scsi_sa.c 1.33 +2 -4 src/sys/cam/scsi/scsi_ses.c 1.23 +9 -9 src/sys/cam/scsi/scsi_targ_bh.c 1.71 +9 -11 src/sys/cam/scsi/scsi_target.c