Date: Tue, 19 Nov 2002 16:39:29 -0800 (PST) From: Nate Lawson <nate@root.org> To: ports@freebsd.org Cc: stable@freebsd.org Subject: HEADSUP - change in CDRIOC.*SPEED ioctl units Message-ID: <Pine.BSF.4.21.0211191633340.61877-100000@root.org>
next in thread | raw e-mail | index | archive | help
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 =
177 K/s, 2x = 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.
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.
-Nate
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?Pine.BSF.4.21.0211191633340.61877-100000>
