From owner-freebsd-new-bus Tue May 9 5:52:49 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from alsatian.cslab.vt.edu (alsatian.cslab.vt.edu [198.82.184.21]) by hub.freebsd.org (Postfix) with ESMTP id 03A7E37BDF6; Tue, 9 May 2000 05:52:46 -0700 (PDT) (envelope-from jobaldwi@cslab.vt.edu) Received: from snowcow.cslab.vt.edu (root@snowcow.cslab.vt.edu [198.82.184.27]) by alsatian.cslab.vt.edu (8.9.3/8.9.3) with ESMTP id IAA23564; Tue, 9 May 2000 08:52:44 -0400 (EDT) (envelope-from jobaldwi@cslab.vt.edu) Received: from localhost (jobaldwi@localhost) by snowcow.cslab.vt.edu (8.9.3/8.9.3) with ESMTP id IAA68577; Tue, 9 May 2000 08:44:26 -0400 (EDT) (envelope-from jobaldwi@cslab.vt.edu) X-Authentication-Warning: snowcow.cslab.vt.edu: jobaldwi owned process doing -bs Date: Tue, 9 May 2000 08:44:26 -0400 (EDT) From: "John H. Baldwin" To: Doug Rabson Cc: freebsd-new-bus@freebsd.org, jhb@freebsd.org, n_hibma@freebsd.org Subject: Re: Alpha USB difficulties... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 May 2000, Doug Rabson wrote: > There is already a function isa_alloc_intr() which does most of what you > need so perhaps you don't need to add isa_alloc_intrs(). On the other > hand, your function is slightly more general. I did see the isa_alloc_intr() function, it was what I modeled my function on. I did use the intrs() function solely for the general case. I figured it would be bad to assume that all IRQ requests would always contain just one IRQ. If that is the case, however, then I'll change it to use isa_alloc_intr() instead. > To make interrupt delivery work, you also need to hook pci_setup_intr and > pci_teardown_intr and vector them to the isa functions too. Hmmm, it looks like I'll need to override this /sys/pci/pcisupport.c conditional on #ifdef alpha? Or is this only a USB thing and thus should only be done for the ohci and uhci drivers? I was assuming that this was a general problem with SRM and PCI devices with ISA IRQ's. > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 20 8442 9037 John Baldwin jhb@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message