Re: Inquiry data and emulated SG devices

2007-10-18 Thread Mathieu Fluhr
On Wed, 2007-10-17 at 21:31 -0400, Jeff Garzik wrote: Robert Hancock wrote: This doesn't seem a very reliable way to identify an IDE device, as all that 0 means is that the device does not claim conformance to any standard. I would think it would be legitimate for an IDE device to put a

Re: Inquiry data and emulated SG devices

2007-10-18 Thread James Bottomley
On Wed, 2007-10-17 at 21:31 -0400, Jeff Garzik wrote: Robert Hancock wrote: This doesn't seem a very reliable way to identify an IDE device, as all that 0 means is that the device does not claim conformance to any standard. I would think it would be legitimate for an IDE device to put a

Re: Inquiry data and emulated SG devices

2007-10-18 Thread Mathieu Fluhr
On Thu, 2007-10-18 at 06:06 -0400, Jeff Garzik wrote: The SCSI midlayer makes a lot of if scsi version = 2 choices. In the case of ATAPI, we do not want to force ATAPI down the path of ancient SCSI devices, as this disables some MMC features that modern ATAPI devices support. If I fully

Re: Inquiry data and emulated SG devices

2007-10-18 Thread James Bottomley
On Thu, 2007-10-18 at 13:57 +0200, Mathieu Fluhr wrote: On Thu, 2007-10-18 at 06:06 -0400, Jeff Garzik wrote: The SCSI midlayer makes a lot of if scsi version = 2 choices. In the case of ATAPI, we do not want to force ATAPI down the path of ancient SCSI devices, as this disables some

Re: Inquiry data and emulated SG devices

2007-10-17 Thread Robert Hancock
(cc-ing linux-ide) Mathieu Fluhr wrote: Hello all, First of all, let me introduce myself a little bit. I am the responsable for the development of the Nero Linux burning application. So I have access to all the source code of the application. Now let's go with the story: It seems that there

Re: Inquiry data and emulated SG devices

2007-10-17 Thread Jeff Garzik
Robert Hancock wrote: This doesn't seem a very reliable way to identify an IDE device, as all that 0 means is that the device does not claim conformance to any standard. I would think it would be legitimate for an IDE device to put a value like 5 in there as well, if it complies with SPC-4..