SATAPI despite no data
PATCH 1/1 SATAPI despite no data
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
drivers/scsi/libata-core.c +1 -0
@@ -2578,6 +2578,7 @@ inline unsigned int ata_host_intr (struccase 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);
Jeff Garzik
Appliedapplied