Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 9 Dec 2002 19:22:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 9 Dec 2002 19:22:21 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:27660 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 9 Dec 2002 19:22:19 -0500 Date: Mon, 9 Dec 2002 16:30:42 -0800 (PST) From: Linus Torvalds To: Alan Cox cc: Richard Henderson , Patrick Mochel , Willy Tarreau , Petr Vandrovec , Linux Kernel Mailing List , Subject: Re: /proc/pci deprecation? In-Reply-To: <1039481030.12046.19.camel@irongate.swansea.linux.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1325 Lines: 33 On 10 Dec 2002, Alan Cox wrote: > On Mon, 2002-12-09 at 18:11, Linus Torvalds wrote: > > That's definitely where it should be - the behaviour of the > > PCI_INTERRUPT_LINE register is clearly chip-specific, so it should be in > > the chip-specific drivers.. > > > > It's a kind of strange behaviour, though. What chip is this? It sounds > > kind of convenient, but as far as I can tell it can only work for those > > kinds of PCI devices that are on the same chip as the irq controller.. > > VIA bridges. In my case its a CLE266 (onchip video, 5.1 audio, ide, usb, > firewire, ethernet, floppy, serial, irda. parallel...) [See why I don't > want to hack each driver 8)] Oh, I didn't mean each sub-chip driver, I meant the "southbridge driver". Right now that's really only the PIRQ table mini-driver (all ten lines of it ;) Sadly, we do _not_ have a really good generic model for setting interrupt lines. The PIRQ stuff comes closest to a driver model, but it gets disabled by the MP table parsing, and then we don't have anything good to fall back on, I'm afraid. Linus - 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/