linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.6.18-rc1-mm1
       [not found]     ` <1152449805.27368.57.camel@localhost.localdomain>
@ 2006-07-09 16:29       ` Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2006-07-09 16:29 UTC (permalink / raw)
  To: Alan Cox
  Cc: Andrew Morton, Reuben Farrelly, linux-kernel, linux-acpi, rdunlap,
	greg, john stultz, Andi Kleen, linux-ide@vger.kernel.org

Alan Cox wrote:
> The old drivers/ide code uses much longer delays than the spec for some
> ATAPI commands, and it looks as if there is a good reason for doing
> so ...


FWIW, the code that ATADRVR (http://www.ata-atapi.com/) uses to issue 
commands does something like

	write Command register to start command
	if (device == ATAPI)			# i.e. not ATA
		delay(150 msec)
	pound Status / AltStatus, kick DMA engine, whatever else

ATADRVR is open code (for an MS-DOS-level driver), and really worth a 
read.  Between ATADRVR and drivers/ide, you get a pretty good idea about 
what __field experience__ has shown is needed for ATAPI devices.

	Jeff




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-09 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060709021106.9310d4d1.akpm@osdl.org>
     [not found] ` <44B0E6E6.6070904@reub.net>
     [not found]   ` <20060709052252.8c95202a.akpm@osdl.org>
     [not found]     ` <1152449805.27368.57.camel@localhost.localdomain>
2006-07-09 16:29       ` 2.6.18-rc1-mm1 Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).