From owner-freebsd-hackers Thu Nov 28 14:58:16 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 C920A37B401 for ; Thu, 28 Nov 2002 14:58:14 -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 EC13043E9C for ; Thu, 28 Nov 2002 14:58:12 -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 gASMvv64028695 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 28 Nov 2002 23:57:58 +0100 (CET) (envelope-from dirkx@webweaving.org) Date: Thu, 28 Nov 2002 23:57:57 +0100 (CET) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem.leiden.webweaving.org To: "M. Warner Losh" Cc: freebsd-hackers@FreeBSD.ORG, Subject: Re: Understanding PCI intr routing on a Cirrus Logic PD6729 In-Reply-To: <20021128.104629.127817773.imp@bsdimp.com> Message-ID: <20021128235301.I25692-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 On Thu, 28 Nov 2002, M. Warner Losh wrote: > this is bogus. However, a less bogus version is: > > /* > * Tell the chip to do its routing thing. > */ > sc->chip->func_intr_way(&sc->slots[0], sc->func_route); > sc->chip->csc_intr_way(&sc->slots[0], sc->csc_route); > > The reason that cardbus_init is bogus in this context is that it > messes with pci config registers that aren't present on the 6729. Ack :-) > Can you try that out? Hmm - no cookie; worse than before. With the cardbus init -all was essentially functional as far as I could test; but in with the above the timeouts have returned - abeit in a differnt form; rather than a simple Timeout I see: wi1: timeout in wi_cmd 0x0002; event status 0x8000 wi1: timeout in wi_cmd 0x0000; event status 0x8000 wi1: wi_cmd: busy bit won't clear. wi1: wi_cmd: busy bit won't clear. wi1: init failed wi1: wi_cmd: busy bit won't clear. wi1: wi_cmd: busy bit won't clear. .... wi1: wi_cmd: busy bit won't clear. wi1: wi_cmd: busy bit won't clear. wi1: wi_cmd: busy bit won't clear. wi1: wi_cmd: busy bit won't clear. So something in the cardbus_init() may be needed ? Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message