From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 8 07:29:01 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD16F16A4CE; Fri, 8 Oct 2004 07:29:01 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A65243D1F; Fri, 8 Oct 2004 07:29:01 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 35B29653DF; Fri, 8 Oct 2004 08:28:59 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29554-05-2; Fri, 8 Oct 2004 08:28:58 +0100 (BST) Received: from empiric.dek.spc.org (adsl-67-121-92-60.dsl.snfc21.pacbell.net [67.121.92.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 4F8C0651F4; Fri, 8 Oct 2004 08:28:58 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 8CF8D616C; Fri, 8 Oct 2004 00:28:54 -0700 (PDT) Date: Fri, 8 Oct 2004 00:28:54 -0700 From: Bruce M Simpson To: freebsd-scsi@FreeBSD.org Message-ID: <20041008072854.GC718@empiric.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF" Content-Disposition: inline cc: ken@FreeBSD.org Subject: [PATCH] Add UFI related mode pages to scsi_modes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 07:29:01 -0000 --a2FkP9tdjPU2nyhF Content-Type: multipart/mixed; boundary="6zdv2QT/q3FMhpsV" Content-Disposition: inline --6zdv2QT/q3FMhpsV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Please Cc: me as I am not subscribed to -scsi] Any objections to my committing this patch to HEAD? Most of the details herein come from the USB Mass Storage UFI Spec. Regards, BMS --6zdv2QT/q3FMhpsV Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="scsi_modes.diff" Content-Transfer-Encoding: quoted-printable --- /usr/src/share/misc/scsi_modes Sun Feb 24 05:27:57 2002 +++ scsi_modes Fri Oct 8 00:26:13 2004 @@ -291,6 +291,28 @@ {Reserved} *i4 } =20 +# Removable devices +0x1b "Removable Block Access Capacities Page" { + {System Floppy Type Device} t1 + {Supports Reporting Format Progress} t1 + {Reserved} *t6 + {Non CD Optical Device} t1 + {Single or Multiple LUN Supported} t1 + {Reserved} *t3 + {Total Logical Units Supported} t3 + {Reserved} *i8 +} + +0x1c "Timer and Protect Page" { + {Reserved} *i1 + {Reserved} *t4 + {Inactivity Time Multiplier} t4 + {Reserved} *t6 + {Disable Media Access until Power Cycle} t1 + {Software Write Protect until Power Cycle} t1 + {Reserved} *i3 +} + # CD-ROM (and CD-R[W]) devices 0x2a "CD capabilities and mechanical status page" { {Reserved} *t4 --6zdv2QT/q3FMhpsV-- --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFBZkG1ueUpAYYNtTsRAoLOAKCMbMTwIgeYX7ePTLiRsVe0dqx45wCZARSg IwEKd0xfYfJegefBEZSJMwg= =6FzX -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF--