Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 1997 20:59:18 -0600
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        dfr@nlsystems.com (Doug Rabson), bde@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Adding ISA devices dynamically 
Message-ID:  <199705070200.UAA15247@pluto.plutotech.com>
In-Reply-To: Your message of "Wed, 07 May 1997 10:22:02 %2B0930." <199705070052.KAA15688@genesis.atrad.adelaide.edu.au> 

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

It would be nice if the statistics for interrupts from any source were
handled by one mechanism and exported cleanly to system monitoring
programs.  Although it may be that there will always only be 16 ISA
interrupts, with the advent of APIC interrupt routining, there is plenty of
oportunity and possibly need to use more than 16.  Add to this the needs of
other architecture ports, software interrupt handlers, etc and it's clear
that a more generic interface, so long as it can be made efficient, is a
good idea. 

>> Doug Rabson				Mail:  dfr@nlsystems.com
>
>-- 
>]] Mike Smith, Software Engineer        msmith@gsoft.com.au             [[
>]] Genesis Software                     genesis@gsoft.com.au            [[
>]] High-speed data acquisition and      (GSM mobile)     0411-222-496   [[
>]] realtime instrument control.         (ph)          +61-8-8267-3493   [[
>]] Unix hardware collector.             "Where are your PEZ?" The Tick  [[
>

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705070200.UAA15247>