Re: IDE/ATAPI in 2.5

Joerg Schilling (schilling@fokus.gmd.de)
Sun, 14 Jul 2002 15:17:14 +0200 (CEST)


Bartlomiej Zolnierkiewicz wrote:

Please stop calling ATAPI as SCSI over IDE, it is not. It is Packet
Interface over ATA (IDE). Some ATAPI/SCSI devices are functionally
equivalent because they support the same command set (i.e. MMC).

Did you ever looks at the ATAPI specs?

ATAPI _is_ SCSI over IDE with a few "bugs"/deviations:

- The inquiry format uses wrong protocol version numbers.

This mainly gives provblems with creating Mode sense / mode select
commands. If you know (e.g. from MMC-3) that the transport is
IDE, then you just bump the version to 2 and it works.

- 6-byte SCSI commands in general are not supported. This is not
a real problem for a well designed high level driver.

- Commands that take a long time are allowed to behave as if
the high level code did set the IMMED bit in the CDB.

This can be handled if the high level code handles the
resulting error codes for the following commands to
introduce a wait loop.

- There is no disconnect/reconnect.

This is nothing that high level code should be aware of.

Jörg

EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni) If you don't have iso-8859-1
schilling@fokus.gmd.de (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
-
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/