Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 1997 12:22:07 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        bde@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Adding ISA devices dynamically
Message-ID:  <Pine.BSF.3.95q.970507122118.3261G-100000@herring.nlsystems.com>
In-Reply-To: <199705070052.KAA15688@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 May 1997, Michael Smith wrote:

> Doug Rabson stands accused of saying:
> > 
> > Since I am adding devices dynamically, I generate new struct isa_devices
> > with new device ids.  Unfortunately, my new device ids are greater than
> > NR_DEVICES and register_intr() fails for the new devices.  Basically, we
> > have a static limit for interrupting devices.
> 
> Unless you were planning on adding support for shared interrupts (were
> you?), there aren't going to be more than 16 ISA interrupts, ever.
> 
> Whether it makes sense to reflect this, or to adopt some more complex but
> extensible scheme isn't entirely obvious to me.

I have given up for now and reserved a few slots for dynamic irq
registration.  Its still ugly though.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891




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