From owner-freebsd-hackers Mon Feb 12 19:54:40 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA28582 for hackers-outgoing; Mon, 12 Feb 1996 19:54:40 -0800 (PST) Received: from fw.ast.com (fw.ast.com [165.164.6.25]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA28576 for ; Mon, 12 Feb 1996 19:54:34 -0800 (PST) Received: from nemesis by fw.ast.com with uucp (Smail3.1.29.1 #2) id m0tmB7b-000858C; Mon, 12 Feb 96 21:09 CST Received: by nemesis.lonestar.org (Smail3.1.27.1 #20) id m0tmB1r-000CCbC; Mon, 12 Feb 96 21:03 WET Message-Id: Date: Mon, 12 Feb 96 21:03 WET To: hackers@freebsd.org From: uhclem@nemesis.lonestar.org (Frank Durda IV) Sent: Mon Feb 12 1996, 21:03:43 CST Subject: Re: Manuel Bouyer: update of atapi driver Sender: owner-hackers@freebsd.org Precedence: bulk [1](aka Andrey A. Chernov, Black Mage) 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 |"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