Re: IDE/ATAPI in 2.5

From: Erik Andersen (andersen@codepoet.org)
Date: Thu Jul 11 2002 - 23:44:13 EST


On Thu Jul 11, 2002 at 09:17:35PM -0700, H. Peter Anvin wrote:
> Erik Andersen wrote:
> >On Thu Jul 11, 2002 at 05:27:11PM -0700, H. Peter Anvin wrote:
> >
> >>Okay, I have suggested this before, and I haven't quite looked at this
> >>in detail, but I would again like to consider the following,
> >>especially given the changes in 2.5:
> >>
> >>Please consider deprecating or removing ide-floppy/ide-tape/ide-cdrom
> >>and treat all ATAPI devices as what they really are -- SCSI over IDE.
> >>It is a source of no ending confusion that a Linux system will not
> >>write CDs to an IDE CD-writer out of the box, for the simple reason
> >>that cdrecord needs access to the generic packet interface, which is
> >>only available in the nonstandard ide-scsi configuration.
> >
> >
> >cdrecord should use the CDROM_SEND_PACKET ioctl, then it would
> >work regardless,
> >
>
> Lovely. Let's make EACH APPLICATION support two disjoint APIs for no
> good reason.

Lovely. Lets rip off a sarcastic answer without spending two
seconds to think. Why would anybody need to support two APIs?
The existing CDROM_SEND_PACKET ioctl is an ATAPI/SCSI pass
through interface, and is sufficient to operate both IDE and
SCSI cd writers.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:21 EST