summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.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/npx.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/npx.c')
-rw-r--r--sys/i386/isa/npx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 2d50255..063f7ce 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.69 1999/05/06 12:47:21 peter Exp $
+ * $Id: npx.c,v 1.70 1999/05/08 18:14:09 peter Exp $
*/
#include "npx.h"
@@ -363,7 +363,8 @@ npx_probe1(dev)
if (r == 0)
panic("npx: can't get IRQ");
BUS_SETUP_INTR(device_get_parent(dev),
- dev, r, npx_intr, 0, &intr);
+ dev, r, INTR_TYPE_MISC,
+ npx_intr, 0, &intr);
if (intr == 0)
panic("npx: can't create intr");
@@ -717,7 +718,6 @@ static device_method_t npx_methods[] = {
static driver_t npx_driver = {
"npx",
npx_methods,
- DRIVER_TYPE_MISC,
1, /* no softc */
};
OpenPOWER on IntegriCloud