Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 14:18:42 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        Mike Smith <mike@smith.net.au>, The Hermit Hacker <scrappy@hub.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: ATAPI related patch .. 
Message-ID:  <199802232218.OAA12635@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 23 Feb 1998 14:08:49 PST." <199802232208.OAA00599@rah.star-gate.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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