From 7bc6edd2550a562e1f4ed8098bd1aab634b4ac22 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 23 Apr 1999 21:01:19 +0000 Subject: Make the register_intr() glue actually have a chance of working... --- sys/amd64/isa/intr_machdep.c | 5 +++-- sys/amd64/isa/nmi.c | 5 +++-- sys/i386/isa/intr_machdep.c | 5 +++-- sys/i386/isa/nmi.c | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/sys/amd64/isa/intr_machdep.c b/sys/amd64/isa/intr_machdep.c index 256c617..6eb9a79 100644 --- a/sys/amd64/isa/intr_machdep.c +++ b/sys/amd64/isa/intr_machdep.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.18 1999/04/16 21:22:22 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ */ /* * This file contains an aggregated module marked: @@ -521,7 +521,7 @@ icu_unset(intr, handler) * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.21 1998/11/10 09:16:29 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ * */ @@ -877,6 +877,7 @@ register_intr(int intr, int device_id, u_int flags, free(irec, M_DEVBUF); return -1; } + isareclist[intr] = irec; return 0; } diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index 256c617..6eb9a79 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.18 1999/04/16 21:22:22 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ */ /* * This file contains an aggregated module marked: @@ -521,7 +521,7 @@ icu_unset(intr, handler) * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.21 1998/11/10 09:16:29 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ * */ @@ -877,6 +877,7 @@ register_intr(int intr, int device_id, u_int flags, free(irec, M_DEVBUF); return -1; } + isareclist[intr] = irec; return 0; } diff --git a/sys/i386/isa/intr_machdep.c b/sys/i386/isa/intr_machdep.c index 256c617..6eb9a79 100644 --- a/sys/i386/isa/intr_machdep.c +++ b/sys/i386/isa/intr_machdep.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.18 1999/04/16 21:22:22 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ */ /* * This file contains an aggregated module marked: @@ -521,7 +521,7 @@ icu_unset(intr, handler) * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.21 1998/11/10 09:16:29 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ * */ @@ -877,6 +877,7 @@ register_intr(int intr, int device_id, u_int flags, free(irec, M_DEVBUF); return -1; } + isareclist[intr] = irec; return 0; } diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c index 256c617..6eb9a79 100644 --- a/sys/i386/isa/nmi.c +++ b/sys/i386/isa/nmi.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.18 1999/04/16 21:22:22 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ */ /* * This file contains an aggregated module marked: @@ -521,7 +521,7 @@ icu_unset(intr, handler) * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kern_intr.c,v 1.21 1998/11/10 09:16:29 peter Exp $ + * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $ * */ @@ -877,6 +877,7 @@ register_intr(int intr, int device_id, u_int flags, free(irec, M_DEVBUF); return -1; } + isareclist[intr] = irec; return 0; } -- cgit v1.1