Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272450AbTHGMWQ (ORCPT ); Thu, 7 Aug 2003 08:22:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S275249AbTHGMWP (ORCPT ); Thu, 7 Aug 2003 08:22:15 -0400 Received: from pc1-cwma1-5-cust4.swan.cable.ntl.com ([80.5.120.4]:49794 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S272450AbTHGMWO (ORCPT ); Thu, 7 Aug 2003 08:22:14 -0400 Subject: Re: TI yenta-alikes (was: ToPIC specific init for yenta_socket) From: Alan Cox To: Russell King Cc: Pavel Roskin , Tim Small , linux-pcmcia@lists.infradead.org, Linux Kernel Mailing List In-Reply-To: <20030807100211.A17690@flint.arm.linux.org.uk> References: <200308062025.08861.daniel.ritz@gmx.ch> <20030806194430.D16116@flint.arm.linux.org.uk> <20030806203217.F16116@flint.arm.linux.org.uk> <3F317FD7.6020209@buttersideup.com> <20030807100211.A17690@flint.arm.linux.org.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1060258695.3123.36.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 07 Aug 2003 13:18:15 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 23 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/