Re: TI yenta-alikes (was: ToPIC specific init for yenta_socket)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Aug 07 2003 - 07:18:15 EST


On Iau, 2003-08-07 at 10:02, Russell King wrote:
> doing is *wrong*. The only people who know whether the pin has been
> wired for INTA or IRQ3 are the _designers_ of the hardware, not the
> Linux kernel.

That assumes the yenta controller isnt hotplugged.

> Currently, the Linux kernel assumes a "greater than designers" approach
> to fiddling with the registers which control the function of these pins,
> and so far I've seen:
>
> - changing the mode from serial PCI interrupts to parallel PCI interrupts
> causes the machine to lock hard (since some cardbus controllers use the
> same physical pins for both functions.)

Basically we got burned by changing the IRQMUX register rather than just
using it as an information source.

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:37 EST