Re: IDE/ATAPI in 2.5

H. Peter Anvin (hpa@zytor.com)
15 Jul 2002 22:28:43 -0700


Followup to: <m165zhp9u1.fsf@frodo.biederman.org>
By author: ebiederm@xmission.com (Eric W. Biederman)
In newsgroup: linux.dev.kernel
> >
> > I'm talking specifically about ATAPI devices here. As we have already covered,
> > not all ATA devices are ATAPI, but unless I'm completely off the wall, ATAPI is
> > SCSI over IDE, and should be able to be driven as such. The lack of access to
> > that interface using the established interface mechanisms just bites.
>
> ATAPI is SCSI like C is C++. There are strong similarities but they
> are regulated by different groups, and have slightly different semantics.
> Last I checked cdrecord already compensates for those differences but they
> are there.
>

This is a good analogy, and in that general vein don't forget there
are considerable differences between different versions of SCSI as
well. Just like there are, in many ways, bigger differences between
K&R C and C99 than between contemporary C and C++. It should be
possible to write code that handles either one, either generically
(obviously the best) or with appropriate conditionals.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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/