Skip to contentSkip to conversation

IDE/ATAPI in 2.5

DISCUSSION Adam J. Richter 2 participants 2 messages Jul 14, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Bartlomiej Zolnierkiewicz
Quoted 7 lines · Adam J. Richter
Quoted 2 lines · Bartlomiej Zolnierkiewicz

Wrong impression. ;)
Hint: look for STANDARD_ATAPI macro usage.

It looks like that macro should be renamed to something like
STANDARD_MMC. Everything that that macro controls still appears to go through ATA Packet Interface encapsulation. Those quirks look like

Please verify against sff8020.

I don't know what you mean by this. It's not a question of
whether the behavior being accomodated is conformant or nonconformant to a standard. The question is whether the accomodations controlled by the "STANDARD_ATAPI" macro can easily be implemented in sr_mod. Since the accomodations are translating a couple of numbers that are repeseneted as binary coded decimal instead of integers (0-255) on some drives, and sending a slightly different SCSI command to change discs on a Sanyo three CD changer, it seems that they can easily be implemented in sr_mod.

Quoted 4 lines
Quoted 2 lines

they would likely be duplicated in a SCSI version of the same drives anyhow. It should be easy to have sr_mod accomodate those drives.

I can't find them, there are some in sr_vendor.c but they are diffirent

From you email address, I would guess that English is not your
first language. While you do write English very well, I think you made a mistake in understanding what I siad. "It should be easy to have sr_mod accomodate those drives" means that it would be easy for someone to write code in the near future to do this (that is, to change sr_mod.c). It does not mean that it has already been done.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."

#1 lore raw
Quoted 12 lines · Adam J. Richter
Quoted 10 lines · Bartlomiej Zolnierkiewicz
Quoted 7 lines · Adam J. Richter
Quoted 2 lines · Bartlomiej Zolnierkiewicz

Wrong impression. ;)
Hint: look for STANDARD_ATAPI macro usage.

It looks like that macro should be renamed to something like
STANDARD_MMC. Everything that that macro controls still appears to go through ATA Packet Interface encapsulation. Those quirks look like

Please verify against sff8020.

Quoted 9 lines

I don't know what you mean by this. It's not a question of
whether the behavior being accomodated is conformant or nonconformant to a standard. The question is whether the accomodations controlled by the "STANDARD_ATAPI" macro can easily be implemented in sr_mod. Since the accomodations are translating a couple of numbers that are repeseneted as binary coded decimal instead of integers (0-255) on some drives, and sending a slightly different SCSI command to change discs on a Sanyo three CD changer, it seems that they can easily be implemented in sr_mod.

I agree with this, I was rather thinking of checking whole ide-cd behaviour against spec to see if there are any more serious problems (and I've heard about some, raising DRQ too soon or sth like that (?)).

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

they would likely be duplicated in a SCSI version of the same drives anyhow. It should be easy to have sr_mod accomodate those drives.

I can't find them, there are some in sr_vendor.c but they are diffirent

From you email address, I would guess that English is not your
first language. While you do write English very well, I think you made

Very funny... ;-)
btw. reading is really easy, writing is a bit harder, read below.

Quoted 2 lines

a mistake in understanding what I siad. "It should be easy to have sr_mod accomodate those drives" means that it would be easy for

I made a mistake of not explicitly writing what I think.

Quoted 2 lines

someone to write code in the near future to do this (that is, to change sr_mod.c). It does not mean that it has already been done.

I understood this w/o problems.
But do you understand that in might be not possible to move ide-cd completly to sr?

--
Bartlomiej

Quoted 4 lines
Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."