Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 10:33:09 -0400 (EDT)
From:      "John H. Baldwin" <jobaldwi@cslab.vt.edu>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        John Baldwin <jhb@freebsd.org>, n_hibma@freebsd.org, freebsd-new-bus@freebsd.org
Subject:   Re: Alpha USB difficulties...
Message-ID:  <Pine.BSF.4.21.0005101029240.96963-100000@snowcow.cslab.vt.edu>
In-Reply-To: <Pine.BSF.4.21.0005100851440.47945-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005101029240.96963-100000>