Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752262AbXBFSny (ORCPT ); Tue, 6 Feb 2007 13:43:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965161AbXBFSny (ORCPT ); Tue, 6 Feb 2007 13:43:54 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]:15451 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752269AbXBFSnx (ORCPT ); Tue, 6 Feb 2007 13:43:53 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YjonqAswJX734A1mIaFMJHjNZxHmrJxD2aBdm/KPj0GfBjFyOWay80h5CZT2a0Ou4BIZWyzHDgLrhcFHvV81qOiye9eMEh+5rq7Cm01l82SVKardst1NZqg0zbGbLxRr2hciaPkUtsUSF7wbrY0dQkZrQHddP3avb5pgihCwRU4= Message-ID: <3efb10970702061043m43f5b3eelfa24fbb95721acb4@mail.gmail.com> Date: Tue, 6 Feb 2007 19:43:47 +0100 From: "Remy Bohmer" Reply-To: linux@bohmer.net To: j-almeida@criticalsoftware.com Subject: Re: IRQ Sharing Cc: linux-kernel@vger.kernel.org In-Reply-To: <200702061801.58465.j-almeida@criticalsoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200702061801.58465.j-almeida@criticalsoftware.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2833 Lines: 64 Hello Jorge, It is not uncommon that interrupt lines are hardwired to each other on a standard PC-board. Therefor it is not always feasible to get rid of interrupt sharing. Especially on-board USB adapters can easily use up to 5 interrupt lines on a standard main-board. Also, sharing of interrupt lines (by hardwiring them) between on-board devices and PCI slots is also common practice. The PCI specification explicitly states that PCI devices can share interrupt lines, and that your drivers must be capable of handling this. Why is sharing a problem for you? If you do not have special realtime requirements, it usually should be no problem... Remy 2007/2/6, Jorge Almeida : > > Hello to all. > > I'm running an application that uses several IO boards in a PCI bus. > > My main problem is the virtual IRQ sharing between several boards. > I mean for example: > 1 ethernet board IRQ = 169; > 1 ADC card IRQ = 169; > > I want to get ride of this behaviour, and changing the slot position of each > board is not enought, to get something like (for example): > 1 ethernet board IRQ = 169; > 1 ADC card IRQ = 170; > > Where in the kernel i can see the algorithms for the APIC system where the > virtual IRQs are distributed? Or exist already any patch that permits to > solve my problem? > > I'm using kernel 2.6.16.27, in a single machine with Intel pentium IV > processor and chipset ICH4. > > Thanks for any reply. > Greetings. > > -- > Jorge Almeida > j-almeida@criticalsoftware.com > DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or without errors as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA. > - > 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/ > - 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/