Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA09461; Fri, 15 Mar 96 17:19:20 EST
Received: from halloran-eldar.lcs.mit.edu by MIT.EDU with SMTP
	id AA11702; Fri, 15 Mar 96 17:18:33 EST
Received: from freefall.FreeBSD.ORG by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM)
	id AA07508; Fri, 15 Mar 1996 17:17:17 -0500
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id OAA05767
          Fri, 15 Mar 1996 14:16:36 -0800 (PST)
Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA05761
          Fri, 15 Mar 1996 14:16:30 -0800 (PST)
Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id JAA17704; Sat, 16 Mar 1996 09:15:52 +1100
Date: Sat, 16 Mar 1996 09:15:52 +1100
From: Bruce Evans <bde@zeta.org.au>
Message-Id: <199603152215.JAA17704@godzilla.zeta.org.au>
To: CVS-committers@freefall.freebsd.org, jmz@freefall.freebsd.org
Subject: Re: cvs commit:  src/sys/i386/isa joy.c
Sender: owner-cvs-committers@FreeBSD.org
X-Loop: FreeBSD.org
Precedence: bulk

>  Modified:    sys/i386/isa  joy.c
>  Log:
>  Add code to make it a loadable kernel module

It will be a joy to maintain the isa_device table :-).

The table entries are already wrong.  -1 for the irq means that it uses
all irqs.  This should cause a conflict with all interrupt-driven
devices, but one problem with loadable devices is that conflicts aren't
checked for.  0 is the "none" value for irqs.  -1 for the maddr means
that that address is used.  0 is the "none" value for maddrs.

Bruce
