Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amigappc/amigappc Fixed serial RBF interrupt.
details: https://anonhg.NetBSD.org/src/rev/006f2868b11f
branches: trunk
changeset: 759890:006f2868b11f
user: phx <phx%NetBSD.org@localhost>
date: Sun Dec 19 14:46:10 2010 +0000
description:
Fixed serial RBF interrupt.
We have to call ser_fastint() instead of ser_intr().
diffstat:
sys/arch/amigappc/amigappc/machdep.c | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (42 lines):
diff -r d9d9218da7ee -r 006f2868b11f sys/arch/amigappc/amigappc/machdep.c
--- a/sys/arch/amigappc/amigappc/machdep.c Sun Dec 19 13:04:54 2010 +0000
+++ b/sys/arch/amigappc/amigappc/machdep.c Sun Dec 19 14:46:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.46 2010/12/19 11:05:06 phx Exp $ */
+/* $NetBSD: machdep.c,v 1.47 2010/12/19 14:46:10 phx Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.46 2010/12/19 11:05:06 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.47 2010/12/19 14:46:10 phx Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@@ -68,7 +68,7 @@
extern void setup_amiga_intr(void);
#if NSER > 0
extern void ser_outintr(void);
-extern void serintr(void);
+extern void ser_fastint(void);
#endif
#if NFD > 0
extern void fdintr(int);
@@ -227,12 +227,9 @@
static int
lev5_intr(void *arg)
{
- unsigned short ireq;
- ireq = custom.intreqr;
- if (ireq & INTF_RBF)
- serintr();
- if (ireq & INTF_DSKSYNC)
+ ser_fastint();
+ if (custom.intreqr & INTF_DSKSYNC)
custom.intreq = INTF_DSKSYNC;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index