From owner-freebsd-hackers Sun Aug 18 23:52:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA23247 for hackers-outgoing; Sun, 18 Aug 1996 23:52:05 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA23230 for ; Sun, 18 Aug 1996 23:52:01 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA04224; Mon, 19 Aug 1996 08:51:58 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA13018; Mon, 19 Aug 1996 08:51:54 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id IAA11467; Mon, 19 Aug 1996 08:33:04 +0200 (MET DST) From: J Wunsch Message-Id: <199608190633.IAA11467@uriah.heep.sax.de> Subject: Re: XMCD problem on FreeBSD 2.1.5 To: xmcd@bazooka.amb.org Date: Mon, 19 Aug 1996 08:33:04 +0200 (MET DST) Cc: freebsd-hackers@freebsd.org (FreeBSD hackers) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9608182136.AA11587@bazooka.amb.org> from Xmcd Admin at "Aug 18, 96 02:36:56 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Xmcd Admin wrote: > > I consider using direct SCSI commands the most ugly method to use, > > though of course, for many operating systems it's your only chance. > > That is a matter of opinion... :-) > 2. It allows me to support SCSI-1 and other CD-ROM drives that > implement non-standard command sets. Nothing prevents the operating systems to do the same. We have to implement drive-dependant features anyway, since we intend to enable reading CD-DA in the kernel some day. > Without the use of direct SCSI-passthrough, xmcd would not be > able to provide full support of such a wide array of CD-ROM drives. Well, OTOH, it also limits your list of features to SCSI only, while you obviously can't support things like the really popular ATAPI devices (which are basically SCSI drives, thus offer the same features internally). Of course, i realize that xmcd supports 22 operating systems, and believe me, i know that this is a hard piece of work. Anyway, i'm from the 22nd supported system :), and now that we've already got the ioctl, i'm more eager to make the kernel interface abstracting the hardware for you. This is the technically cleaner solution. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)