Drew Eckhardt wrote:

> Under Linux, the CD and disk drivers are completely divorced.  When
> I wrote the disk driver, I used the smallest command possible for a
> given transfer size.  The CD driver was cloned from that.

This is a bad idea! This "divorce" should be undone whenever someone
has a chance!

DVD RAM drives currently require a gross hack to allow them to be
driven by both the disk driver (to write to the device), and as a
CDROM drive (to allow cdrom ioctls like play track).

A common driver that has a bunch of flags (removeable, writeable,
play-able: hd: 010, cd: 101, mo: 110, dvd: 111) would work best....

                                Roger.

-- 
** [EMAIL PROTECTED] ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
 "I didn't say it was your fault. I said I was going to blame it on you."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to