From owner-freebsd-stable Tue Nov 19 17:47:34 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9FB037B426; Tue, 19 Nov 2002 17:47:28 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-146.dsl.lsan03.pacbell.net [63.207.60.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5F6D43E3B; Tue, 19 Nov 2002 17:47:21 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B033B66E3A; Tue, 19 Nov 2002 17:47:20 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 540F11290; Tue, 19 Nov 2002 17:47:19 -0800 (PST) Date: Tue, 19 Nov 2002 17:47:19 -0800 From: Kris Kennaway To: Nate Lawson Cc: ports@freebsd.org, stable@freebsd.org Subject: Re: HEADSUP - change in CDRIOC.*SPEED ioctl units Message-ID: <20021120014718.GA7632@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 19, 2002 at 04:39:29PM -0800, Nate Lawson wrote: > I just MFCd code that was committed to current a month ago that changes > the semantics of CDRIOC{READ,WRITE}SPEED ioctls to take the raw value (in > KB/sec). Before, the units were multiples of CDROM 1X speed (i.e. 1x =3D > 177 K/s, 2x =3D 354 K/s, ...) Also, it is now possible to tell the drive= to > select its maximum possible speed by sending 0xffff as the ioctl argument. >=20 > Maintainers of CD player, ripper, and burner packages should make sure > they've tracked the change correctly. If you don't use the CDRIOC > interface, you don't need to change anything. If you do, multiply all > values by 177 before passing them to ioctl(). For examples on how to do > this, see usr.sbin/cdcontrol or usr.sbin/burncd. This is not acceptable, IMO. We don't break ABI or API compatibility in the -STABLE branch without very good reason. Kris --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE92ummWry0BWjoQKURAqtDAJ4x9MF1Nvx3GAmEqhq3Vv1nH9aN8QCgpx4G Ps4+/8hF3+j0c8+9doRCX7I= =j/MM -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message