Re: IDE/ATAPI in 2.5

Richard B. Johnson (root@chaos.analogic.com)
Sun, 14 Jul 2002 20:29:00 -0400 (EDT)


On Sun, 14 Jul 2002, Joerg Schilling wrote:

> >From root@chaos.analogic.com Fri Jul 12 22:18:47 2002
>
> >As much as I hate IDE, IDE isn't going away. All my systems use SCSI
> >so on machines that have CD/ROMS, I use your libraries and your tools.
>
> >Maybe somebody should make CD/ROM code that directly talks to IDE via
> >/dev/hdwhatever, instead of expecting you to modify your code that
> >has worked so well for so long.
>
> This would be a really bad idea.
>
> Such a change would force me to add a 6th (and unneeded) new interface.
> Why? What problem would be solved if you did introduce such an interface?
>

Well for one thing it eliminates the requirement to
include SCSI interface code on machines that don't
have SCSI. That's the practical aspect.

Now, the esoteric. Do you truly think that it is
proper to encapsulate devices in various layers?

The IDE interface, if it wasn't for the bug-workarounds,
is just a floppy disk interface that uses a different
controller chip. It is register-based, not message-
based. If you throw in a message-based control layer
(SCSI), what problems are you solving? It's a
rhetorical question. No answer is required.

Like I said before, your stuff works great. I use
it because I use SCSI. Somebody needs to write some
CD access code for IDE drives because they are not
going away. Maybe that 'somebody' is not you. You
certainly don't want to mess up good working code.

But I, for one, would feel a bit better about the
future IDE/CDROM code if you wrote it.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.

-
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/