summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt
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/dev/dpt
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/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_eisa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/dpt/dpt_eisa.c b/sys/dev/dpt/dpt_eisa.c
index a8b2448..e38ea66 100644
--- a/sys/dev/dpt/dpt_eisa.c
+++ b/sys/dev/dpt/dpt_eisa.c
@@ -33,7 +33,7 @@
*/
/*
- * $Id: dpt_eisa.c,v 1.4 1998/09/15 08:33:35 gibbs Exp $
+ * $Id: dpt_eisa.c,v 1.5 1999/04/18 15:50:33 peter Exp $
*/
#include "eisa.h"
@@ -174,7 +174,7 @@ dpt_eisa_attach(device_t dev)
/* Register with the XPT */
dpt_attach(dpt);
- bus_setup_intr(dev, irq, dpt_intr, dpt, &ih);
+ bus_setup_intr(dev, irq, INTR_TYPE_CAM, dpt_intr, dpt, &ih);
splx(s);
@@ -250,7 +250,6 @@ static device_method_t dpt_eisa_methods[] = {
static driver_t dpt_eisa_driver = {
"dpt",
dpt_eisa_methods,
- DRIVER_TYPE_CAM,
1, /* unused */
};
OpenPOWER on IntegriCloud