Date: Tue, 19 Nov 2002 17:47:19 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Nate Lawson <nate@root.org> Cc: ports@freebsd.org, stable@freebsd.org Subject: Re: HEADSUP - change in CDRIOC.*SPEED ioctl units Message-ID: <20021120014718.GA7632@rot13.obsecurity.org> In-Reply-To: <Pine.BSF.4.21.0211191633340.61877-100000@root.org> References: <Pine.BSF.4.21.0211191633340.61877-100000@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021120014718.GA7632>