From owner-freebsd-hackers Wed Nov 27 2:42:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 114CB37B401 for ; Wed, 27 Nov 2002 02:42:40 -0800 (PST) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0125243EB2 for ; Wed, 27 Nov 2002 02:42:38 -0800 (PST) (envelope-from dirkx@webweaving.org) Received: from foem (foem [10.11.0.2]) by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id gARAgV64076484 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 27 Nov 2002 11:42:31 +0100 (CET) (envelope-from dirkx@webweaving.org) Date: Wed, 27 Nov 2002 11:42:31 +0100 (CET) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem.leiden.webweaving.org To: freebsd-hackers@FreeBSD.ORG Subject: Understanding PCI intr routing on a Cirrus Logic PD6729 Message-ID: <20021127111749.V2484-100000@foem.leiden.webweaving.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've got a "Compaq" "WL200_11Mbps_Wireless_PCI_Card" here. This is a PCI card with a CL-PD6729 pci<->pcmcia bridge on it. The pcmcia is hard wired through to a prism/2 card. The WL200 pci cards get assigned irq 12, 11 and 10 (or if there is just one card, irq 12) at bootup and the first wi0 detected gets assigned the first free irq 3. The trouble is either a hang on detection (when pd6729_intr_path=2 is used) or a Timeout (with pd6729_intr_path=1/default) when trying to use this card with either 4.6 or -CURRENT. Now it seems that all 4 PCI interrupt pins #A to #D of the PD6729 as well as IRQ9-12 are all wired together and all are routed to the same INT#A pin on the PCI bus. The INT#B, C and D pints of the PCI bus are not connected to anything. Now what exactly does this mean ? Should all PCI cards and their PCMCIA children all share the same IRQ and use polling only ? How is that configured ? As I am guessing that any of the IRQ setup by /sys/pccard/pcic_pci.c is rather ignored by having the wiring on the physical card all going to #A ? Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message