summaryrefslogtreecommitdiffstats
path: root/sys/dev/ahb
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/ahb
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/ahb')
-rw-r--r--sys/dev/ahb/ahb.c5
1 files changed, 2 insertions, 3 deletions
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 */
};
OpenPOWER on IntegriCloud