From 566643e39ed0d4d3251a7212073c1e3f79ca95a2 Mon Sep 17 00:00:00 2001 From: Doug Rabson 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/ep/if_ep_eisa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/ep') 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 */ }; -- cgit v1.2.3