From e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 8 May 1999 21:59:43 +0000 Subject: Move the declaration of the interrupt type from the driver structure to the BUS_SETUP_INTR call. --- sys/dev/ahb/ahb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/ahb') diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c index 6e0db43..86ba09b 100644 --- a/sys/dev/ahb/ahb.c +++ b/sys/dev/ahb/ahb.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahb.c,v 1.10 1999/04/23 23:29:00 gibbs Exp $ + * $Id: ahb.c,v 1.11 1999/05/06 20:16:31 ken Exp $ */ #include "eisa.h" @@ -369,7 +369,7 @@ ahbattach(device_t dev) goto error_exit; /* Enable our interrupt */ - bus_setup_intr(dev, irq, ahbintr, ahb, &ih); + bus_setup_intr(dev, irq, INTR_TYPE_CAM, ahbintr, ahb, &ih); return (0); error_exit: @@ -1347,7 +1347,6 @@ static device_method_t ahb_eisa_methods[] = { static driver_t ahb_eisa_driver = { "ahb", ahb_eisa_methods, - DRIVER_TYPE_CAM, 1, /* unused */ }; -- cgit v1.1