Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Nov 2001 03:47:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Nov 2001 03:47:02 -0500 Received: from swazi.realnet.co.sz ([196.28.7.2]:20964 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Tue, 6 Nov 2001 03:46:49 -0500 Date: Tue, 6 Nov 2001 10:57:28 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: To: Cc: Subject: RE: PCI interrupts 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 Matthew Clark said... >(b) if it shouldn't have a unique number do I have to share the >interrupt (with the usb controller) or can I change it to >another address (by writing to the config space?)? >If I have to share it how do I do this- (my card will generate a >lot of interrupt traffic)?. Assuming i386 >From my limited knowledge about the IRQ handling subsystems, you would call arch/i386/irq.c:request_irq() with the appropriate flags, ie SA_SHIRQ and any others you may require. I *think* you might also be able to do dev->irq = irq_num and then do your request_irq() but you might require a bit of voodoo inbetween. Regards, Zwane Mwaikambo - 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/