Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 96 21:03 WET
From:      uhclem@nemesis.lonestar.org (Frank Durda IV)
To:        hackers@freebsd.org
Subject:   Re: Manuel Bouyer: update of atapi driver
Message-ID:  <m0tmB1r-000CCbC@nemesis.lonestar.org>

next in thread | raw e-mail | index | archive | help
[1](aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su> writes:
[1]2) There is only SCSI-specific assumptions and no other assumtions
[1]exists. If some player work with SCSI CD and not work with other
[1]CD driver, it is definitely other CD driver bug an should be fixed
[1]in the driver.

Uh, there is at least one CD-Audio "player" that outputs pre-built
SCSI commands directly to an ioctl that the SCSI driver accepts
and passes directly to the drive.   If I remember right, "workman" is
the SCSI-only CD audio application.

It is unreasonable to expect all the non-SCSI drives to parse all possible
SCSI commands received via this ioctl, issue equivalent proprietary commands
to the drive, read and repackage the results from the drive and return
that to the package.   Apart from being a waste of time, these
translators would make the drivers huge.  

Cdplayer (now deleted from the tree) and xcdplayer use the standard
CD-audio ioctls.

Most of the CD-ROM drivers support these ioctls and issue appropriate
commands to the drives (at least this was true in 2.1.0).

Frank Durda IV <uhclem@nemesis.lonestar.org>|"The Knights who say "LETNi"
or uhclem%nemesis@rwsystr.nkn.net           | demand...  A SEGMENT REGISTER!!!"
	  ^------(this is the fastest route)|"A what?"
or ...letni!rwsys!nemesis!uhclem	    |"LETNi! LETNi! LETNi!"  - 1983




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tmB1r-000CCbC>