Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Nov 2001 09:38:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Nov 2001 09:38:15 -0500 Received: from t2.redhat.com ([199.183.24.243]:17909 "EHLO dhcp-177.hsv.redhat.com") by vger.kernel.org with ESMTP id ; Tue, 6 Nov 2001 09:37:55 -0500 Date: Tue, 6 Nov 2001 08:37:49 -0600 From: Tommy Reynolds To: linux-kernel@vger.kernel.org Subject: Re: PCI interrupts Message-Id: <20011106083749.23fbd03e.reynolds@redhat.com> In-Reply-To: In-Reply-To: Organization: Red Hat Software, Inc. / Embedded Development X-Mailer: Sylpheed version 0.6.4cvs13 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: Nr)Jjr wrote: > In my development system the PCI card I am developing the > driver for reports (from the PCI config region) that it is using > interrupt 5. I can't register this interrupt as it is already > in use by the USB controller. PCI interrupts can be shared, but every handler must be registered with the SA_SHIRQ flag on the request_irq() call. Both the request_irq() and free_irq() routines need a "dev_id" cookie to uniquely identify your instance of the interrurpt handler. You can see shared interrupts in "/proc/interrupts" because there will be a comma-separated list of handler names for each IRQ level. ---------------------------------------------+----------------------------- Tommy Reynolds | mailto: Red Hat, Inc., Embedded Development Services | Phone: +1.256.704.9286 307 Wynn Drive NW, Huntsville, AL 35805 USA | FAX: +1.256.837.3839 Senior Software Developer | Mobile: +1.919.641.2923 --=._uw3o/W.pWi74r Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iEYEARECAAYFAjvn9cIACgkQWEn3bOOMcuoYFwCfQlwTBPW6BG9XTSISdA+pqMnD FUgAnj4TGhaeRzaNQ7PMXJsSNZrjHHMK =V9lM -----END PGP SIGNATURE----- --=._uw3o/W.pWi74r-- - 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/