lkml.org 
[lkml]   [2003]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.21-pre4: PDC ide driver problems with shared interrupts
Benjamin Herrenschmidt wrote:

>While I agree with you here, I don't think it's what's happening.
> /* clear INTR & ERROR flags */
> hwif->OUTB(dma_stat|6, hwif->dma_status);
>
>
>
You have way to much faith in the hardware. Promise is especially known
for not keeping to the spec. I wouldn't trust the interrupt bit to be
valid unless a dma is actually active, i.e. that

hwif->OUTB(hwif->INB(dma_base)|1, dma_base);
has actually been written.

I've actually had a manufacturer tell me that they don't worry about the
spec, just making things work with Windows.

Ross

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.121 / U:0.324 seconds]
©2003-2011 Jasper Spaans. Advertise on this site