Use dio_intr_establish().

This commit is contained in:
thorpej 1997-05-05 20:58:18 +00:00
parent bd2bc06c75
commit 0a8e2a9ce8
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dca.c,v 1.34 1997/04/14 02:33:16 thorpej Exp $ */
/* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Jason R. Thorpe. All rights reserved.
@ -231,7 +231,7 @@ dcaattach(parent, self, aux)
sc->sc_flags |= DCA_HASFIFO;
/* Establish interrupt handler. */
(void) intr_establish(dcaintr, sc, ipl,
(void) dio_intr_establish(dcaintr, sc, ipl,
(sc->sc_flags & DCA_HASFIFO) ? IPL_TTY : IPL_TTYNOBUF);
sc->sc_flags |= DCA_ACTIVE;

View File

@ -1,4 +1,4 @@
/* $NetBSD: dcm.c,v 1.40 1997/04/15 22:45:14 scottr Exp $ */
/* $NetBSD: dcm.c,v 1.41 1997/05/05 20:59:16 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Jason R. Thorpe. All rights reserved.
@ -354,7 +354,7 @@ dcmattach(parent, self, aux)
sc->sc_flags |= DCM_ACTIVE;
/* Establish the interrupt handler. */
(void) intr_establish(dcmintr, sc, ipl, IPL_TTY);
(void) dio_intr_establish(dcmintr, sc, ipl, IPL_TTY);
if (dcmistype == DIS_TIMER)
dcmsetischeme(brd, DIS_RESET|DIS_TIMER);