From owner-cvs-all@FreeBSD.ORG Sat Sep 9 07:21:21 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CEA716A407; Sat, 9 Sep 2006 07:21:21 +0000 (UTC) (envelope-from ken@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C28543D68; Sat, 9 Sep 2006 07:21:19 +0000 (GMT) (envelope-from ken@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 k897LJi1005869; Sat, 9 Sep 2006 07:21:19 GMT (envelope-from ken@repoman.freebsd.org) Received: (from ken@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k897LJk1005868; Sat, 9 Sep 2006 07:21:19 GMT (envelope-from ken) Message-Id: <200609090721.k897LJk1005868@repoman.freebsd.org> From: "Kenneth D. Merry" Date: Sat, 9 Sep 2006 07:21:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/camcontrol camcontrol.8 camcontrol.c src/sys/cam/scsi scsi_all.c scsi_all.h 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: Sat, 09 Sep 2006 07:21:21 -0000 ken 2006-09-09 07:21:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/camcontrol camcontrol.8 camcontrol.c sys/cam/scsi scsi_all.c scsi_all.h Log: MFC, camcontrol reportluns support: camcontrol.8: rev 1.42 camcontrol.c: rev 1.54 scsi_all.c: rev 1.49 scsi_all.h: rev 1.26 Implement 'camcontrol reportluns'. This allows users to send the SCSI REPORT LUNS command to a device. camcontrol.[c8]: Implement reportluns. This tries to print the LUNs out in a reasonable format. Only the periph addressing method has been tested, since very little hardware that I know of supports the other methods. scsi_all.[ch]: Revamp the report luns CDB structure and helper functions. This constitutes a little bit of an API change, but since the old CDB length was 10 bytes, and the REPORT LUNS CDB length is actually 12 bytes, it's clear that no one was using this API in the first place. Revision Changes Path 1.41.2.1 +39 -1 src/sbin/camcontrol/camcontrol.8 1.53.2.1 +261 -1 src/sbin/camcontrol/camcontrol.c 1.48.2.1 +5 -3 src/sys/cam/scsi/scsi_all.c 1.24.2.2 +30 -12 src/sys/cam/scsi/scsi_all.h