Re: [PATCH] IDE dma reset for sl82c105

Russell King (rmk@arm.linux.org.uk)
Tue, 18 Dec 2001 10:16:30 +0000


On Mon, Dec 17, 2001 at 09:31:08PM -0600, Todd Inglett wrote:
> I have found that the IDE controller on a w83c553f (a sl82c105 function)
> can get into a hung state if the interrupt line is wired to INTC and a
> timeout occurs. The following patch implements a hard reset for the
> controller as documented in a Windbond engineering notice.

Thanks - I'll give it a whirl here.

Could you also get an lspci -v dump of the ISA bridge and the IDE function
please?

> This patch needs some testing and there appears to be no maintainer for
> the sl83c105 IDE driver :(.

I'm about the closest person to a maintainer for that; these chips are
used on every NetWinder...

> The conditions to repeat the problem are
> that the controller must be wired for PCI INTC, DMA must be in use, and
> a timeout error must occur (try mounting a music CD).

Does the Engineering notice give PCI INTC as a pre-condition?

> The patch should apply to 2.5.13 - 2.5.16 (at least).

I think you mean 2.4.13 - 2.4.16 8)

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/