diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
commit | 566643e39ed0d4d3251a7212073c1e3f79ca95a2 (patch) | |
tree | 46d3248879e7658fc2fdcb97949d5ad174921b97 /sys/dev/ep | |
parent | c85c3a74520d8aa6e5f8cb774a2ab101f5f2698d (diff) | |
download | src-566643e39ed0d4d3251a7212073c1e3f79ca95a2.tar.gz src-566643e39ed0d4d3251a7212073c1e3f79ca95a2.zip |
Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
Notes
Notes:
svn path=/head/; revision=46743
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_ep_eisa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c index 8a961663ecd9..81ba5a24e223 100644 --- a/sys/dev/ep/if_ep_eisa.c +++ b/sys/dev/ep/if_ep_eisa.c @@ -19,7 +19,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: 3c5x9.c,v 1.10 1997/09/21 21:35:21 gibbs Exp $ + * $Id: 3c5x9.c,v 1.11 1999/04/18 15:50:33 peter Exp $ */ #include "eisa.h" @@ -274,7 +274,7 @@ ep_eisa_attach(device_t dev) ep_attach(sc); - bus_setup_intr(dev, irq, ep_intr, sc, &ih); + bus_setup_intr(dev, irq, INTR_TYPE_NET, ep_intr, sc, &ih); return 0; @@ -299,7 +299,6 @@ static device_method_t ep_eisa_methods[] = { static driver_t ep_eisa_driver = { "ep", ep_eisa_methods, - DRIVER_TYPE_NET, 1, /* unused */ }; |