From owner-freebsd-current Mon Feb 23 14:48:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA01845 for freebsd-current-outgoing; Mon, 23 Feb 1998 14:48:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA01839 for ; Mon, 23 Feb 1998 14:48:53 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id OAA12635; Mon, 23 Feb 1998 14:18:42 -0800 (PST) Message-Id: <199802232218.OAA12635@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: Mike Smith , The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: ATAPI related patch .. In-reply-to: Your message of "Mon, 23 Feb 1998 14:08:49 PST." <199802232208.OAA00599@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 23 Feb 1998 14:18:42 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I thought that the low level scsi i/o routines did just that io with > ioctls... The low-level SCSI I/O routines need a freeform I/O approach, and they're designed for casual poking at things in an out-of-band fashion, sort of like a SCSI geek-port. Luigi's hack is for CDDA (sucking audio off the CD) acccess; this is basically bulk data transfer. Being a read-like operation, it's better handled as such. With a little more work, once you support audio accesses in the driver properly, you become able to produce a "cdrom audio FS", where tracks on the disk appear as files when the disk is mounted. I appreciate that Luigi's hack is expedient, and as I said if there's a strong precedent (ie. binary compatability issues) then sure, we should support it. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message