From owner-cvs-all Fri Oct 18 15: 3:57 2002 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 1599B37B401; Fri, 18 Oct 2002 15:03:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C063C43EB2; Fri, 18 Oct 2002 15:03:55 -0700 (PDT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9IM3dmV091171; Fri, 18 Oct 2002 15:03:40 -0700 (PDT) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9IM3d7K091169; Fri, 18 Oct 2002 15:03:39 -0700 (PDT) Message-Id: <200210182203.g9IM3d7K091169@repoman.freebsd.org> From: Nate Lawson Date: Fri, 18 Oct 2002 15:03:39 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata atapi-cd.c src/sys/cam/scsi scsi_cd.c scsi_cd.h src/sys/sys cdrio.h src/usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c src/usr.sbin/burncd burncd.8 burncd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG njl 2002/10/18 15:03:39 PDT Modified files: sys/dev/ata atapi-cd.c sys/cam/scsi scsi_cd.c scsi_cd.h sys/sys cdrio.h usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c usr.sbin/burncd burncd.8 burncd.c Log: * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. * Change atapi-cd ioctls to use the same units. * Change burncd, cdcontrol to convert CDROM speed to KB/sec before calling the ioctl. Add a "max" speed option for their command lines. This change does not break ABI but does change the units passed through the ioctl so 3rd party software that uses cdrio.h will have to convert (most likely by multiplying CDROM speed by 177 to get KB/s). PR: kern/36845 Submitted by: Philipp Mergenthaler (CAM ioctls) Reviewed by: sos, ken MFC after: 1 month Revision Changes Path 1.67 +47 -0 src/sys/cam/scsi/scsi_cd.c 1.6 +11 -0 src/sys/cam/scsi/scsi_cd.h 1.126 +2 -2 src/sys/dev/ata/atapi-cd.c 1.9 +1 -0 src/sys/sys/cdrio.h 1.22 +1 -0 src/usr.sbin/burncd/burncd.8 1.27 +4 -1 src/usr.sbin/burncd/burncd.c 1.36 +3 -3 src/usr.sbin/cdcontrol/cdcontrol.1 1.42 +5 -4 src/usr.sbin/cdcontrol/cdcontrol.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message