From a0d45384b61eed2c54569aa49f8f2fbd109bd2af Mon Sep 17 00:00:00 2001 From: is Date: Thu, 28 Mar 1996 19:23:32 +0000 Subject: [PATCH] The interrupt routine of the ivsc (and the empsc, which seems to have copied it) looks truncated. At least the return(1) is missing, which I now add as a first stopgap. Somebody needs to find out if anything else is missing for these boards. --- sys/arch/amiga/dev/empsc.c | 4 +++- sys/arch/amiga/dev/ivsc.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/amiga/dev/empsc.c b/sys/arch/amiga/dev/empsc.c index 2a8ecd1f4d95..f3e1f128e2b0 100644 --- a/sys/arch/amiga/dev/empsc.c +++ b/sys/arch/amiga/dev/empsc.c @@ -1,4 +1,4 @@ -/* $NetBSD: empsc.c,v 1.2 1996/03/28 18:56:08 is Exp $ */ +/* $NetBSD: empsc.c,v 1.3 1996/03/28 19:23:32 is Exp $ */ /* @@ -176,4 +176,6 @@ empsc_intr(dev) if ((*dev->sci_csr & SCI_CSR_INT) == 0) return(0); stat = *dev->sci_iack; + /* XXXX is: something is missing here, at least a: */ + return(1); } diff --git a/sys/arch/amiga/dev/ivsc.c b/sys/arch/amiga/dev/ivsc.c index 9bf39b379578..8a716c71fc5f 100644 --- a/sys/arch/amiga/dev/ivsc.c +++ b/sys/arch/amiga/dev/ivsc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ivsc.c,v 1.13 1996/03/17 01:17:41 thorpej Exp $ */ +/* $NetBSD: ivsc.c,v 1.14 1996/03/28 19:23:34 is Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -327,4 +327,6 @@ ivsc_intr(dev) if ((*dev->sci_csr & SCI_CSR_INT) == 0) return(0); stat = *dev->sci_iack; + /* XXXX is: something is missing here, at least a: */ + return(1); }