linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SATAPI despite no data
@ 2004-07-23 18:51 Pat LaVarre
  2004-07-28 17:22 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Pat LaVarre @ 2004-07-23 18:51 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide

Jeff G:

Please may we restore the source line quoted below?

I see we lost this source line in the changes since 2.6.7.  But if I try
SATAPI expecting no data without this source line, then my ata_piix.ko
promptly dies with such complaints as:

kernel: irq 18: nobody cared!

With this source line, I find I can expect no data, though I still have
to add auto sense to overcome:

kernel: ata2: BUG: timeout without command

I've placed this source line so that (a) we equate case ATA_PROT_ATAPI
with case ATA_PROT_ATAPI_DMA.  I could easily instead (b) write case
ATA_PROT_ATAPI as an isolated case or I could (c) try to write case
ATA_PROT_ATAPI as equal with case ATA_PROT_NODATA, if by chance you do
prefer (b) or (c).

Pat LaVarre

diff -urp linux-2.6.8-rc2-bk2/drivers/scsi/libata-core.c linux-2.6.8-rc2-bk2-pel/drivers/scsi/libata-core.c
--- linux-2.6.8-rc2-bk2/drivers/scsi/libata-core.c	2004-07-23 11:53:35.000000000 -0600
+++ linux-2.6.8-rc2-bk2-pel/drivers/scsi/libata-core.c	2004-07-23 12:29:22.000000000 -0600
@@ -2578,6 +2578,7 @@ inline unsigned int ata_host_intr (struc
 
 	case ATA_PROT_DMA:
 	case ATA_PROT_ATAPI_DMA:
+	case ATA_PROT_ATAPI:
 		/* check status of DMA engine */
 		host_stat = ata_bmdma_status(ap);
 		VPRINTK("BUS_DMA (host_stat 0x%X)\n", host_stat);



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] SATAPI despite no data
  2004-07-23 18:51 [PATCH] SATAPI despite no data Pat LaVarre
@ 2004-07-28 17:22 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-07-28 17:22 UTC (permalink / raw)
  To: Pat LaVarre; +Cc: linux-ide

applied


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-28 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 18:51 [PATCH] SATAPI despite no data Pat LaVarre
2004-07-28 17:22 ` 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).