summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/isa.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
committerdfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
commite4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 (patch)
treeba748fea961d917292e2b4a959796c7415efbf31 /sys/i386/isa/isa.c
parentd1098a6692d3c3b23bc870a491d680451c3356a7 (diff)
downloadFreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.zip
FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.tar.gz
Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
Diffstat (limited to 'sys/i386/isa/isa.c')
-rw-r--r--sys/i386/isa/isa.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c
index 5251c80..512be7a 100644
--- a/sys/i386/isa/isa.c
+++ b/sys/i386/isa/isa.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isa.c,v 1.123 1999/05/08 18:15:49 peter Exp $
+ * $Id: isa.c,v 1.124 1999/05/08 21:28:39 peter Exp $
*/
/*
@@ -564,11 +564,11 @@ isa_release_resource(device_t bus, device_t child, int type, int rid,
* deal).
*/
static int
-isa_setup_intr(device_t bus, device_t child, struct resource *r,
+isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
void (*ihand)(void *), void *arg, void **cookiep)
{
- return (BUS_SETUP_INTR(device_get_parent(bus), child, r, ihand, arg,
- cookiep));
+ return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags,
+ ihand, arg, cookiep));
}
static int
@@ -604,7 +604,6 @@ static device_method_t isa_methods[] = {
static driver_t isa_driver = {
"isa",
isa_methods,
- DRIVER_TYPE_MISC,
1, /* no softc */
};
OpenPOWER on IntegriCloud