Re: CDROM_SELECT_SPEED interface problem

Pavel Machek (pavel@elf.ucw.cz)
Thu, 19 Mar 1998 22:16:10 +0100


Hi!

> ...The value of speed specifies the head-speed of the
> drive, measured in units of kB/sec. So to request that a cdrom drive
> operate at 706 kB/sec you would call the CDROM_SELECT_SPEED ioctl
> with speed=706. The special value `0' means set the drive speed to
> the maximum the drive supports. Additionally, all values below
> 100 (but greater then 0) shall be treated as requests to set the
> speed based on units of standard cdrom speed (177 kB/sec*speed).
> To request that a cdrom drive operate at 354 kB/sec you could call
> the CDROM_SELECT_SPEED ioctl with speed=2. Note that this special
> interface for speed less then 100 is depricated, and may go away
> in some future kernel release.
>
> How does this sound to everybody? Ok? Workable? Broken?

Ugly. If this was only in 2.1.90, than simply break that. 2.1. is
development, and we do not want such ugliness just because 2.1. binary
compatibility. (But break it ASAP.) I really think that there's
possiblity of 100x cdroms in few years.

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu