From owner-freebsd-new-bus Wed May 10 7:41: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 E5DD237B601; Wed, 10 May 2000 07:41:40 -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 KAA26528; Wed, 10 May 2000 10:41:39 -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 KAA96984; Wed, 10 May 2000 10:33:09 -0400 (EDT) (envelope-from jobaldwi@cslab.vt.edu) X-Authentication-Warning: snowcow.cslab.vt.edu: jobaldwi owned process doing -bs Date: Wed, 10 May 2000 10:33:09 -0400 (EDT) From: "John H. Baldwin" To: Doug Rabson Cc: John Baldwin , n_hibma@freebsd.org, freebsd-new-bus@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 Wed, 10 May 2000, Doug Rabson wrote: > On Tue, 9 May 2000, John Baldwin wrote: > > Ok, done. For lack of a better name, I just renamed the functions to > > cia_tsunami_{setup,teardown}_intr(), and patched the cia and tsunami > > driver appropriately. Latest patch is at the same place as the others. > > The patch looks good. I'm not too keen on the name > cia_tsunami_*_intr(). Maybe something more generic like > alpha_pci_{setup,teardown}_intr(). alpha_platform_pci_*_intr is what I went with similar to the IDE intr functions. > The code in pci_alloc_resource which looks for the ISA range should be > conditional on NISA>0 so that the file can work even if ISA is not > built. Apart from that, it looks ready to commit. Well.... I did this, but probably NISA should be checked in alpha_platform_pci_*_intr. I tried to test it, but right now you can't build a kernel without ISA support. I did manage to pair down GENERIC to a kernel without any ISA devices or ISA support, but I still get several link errors at the end of the build in several chipset drivers, and also for things like 'comconsole' in a lt of drivers. So, getting a non-ISA compile will take a good chunk of work after this if people want it. Unless there are any objections, I'll commit the latest patch (at the normal place) when I get back from my last final in a few hours. > With this fix, it should be possible to simplify some of the > alpha-specific hacks in the ata driver which have to work around the same > interrupt mapping hassle. > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 20 8442 9037 John Baldwin jobaldwi@cslab.vt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message