Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/isa Only clear the interrupt latch if we are u...
details: https://anonhg.NetBSD.org/src/rev/eaa5436e8730
branches: trunk
changeset: 755720:eaa5436e8730
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 17 14:41:50 2010 +0000
description:
Only clear the interrupt latch if we are using interrupts!
diffstat:
sys/arch/i386/isa/npx.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ca751f747da7 -r eaa5436e8730 sys/arch/i386/isa/npx.c
--- a/sys/arch/i386/isa/npx.c Thu Jun 17 09:37:50 2010 +0000
+++ b/sys/arch/i386/isa/npx.c Thu Jun 17 14:41:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npx.c,v 1.136 2010/04/18 23:47:51 jym Exp $ */
+/* $NetBSD: npx.c,v 1.137 2010/06/17 14:41:50 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npx.c,v 1.136 2010/04/18 23:47:51 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npx.c,v 1.137 2010/06/17 14:41:50 christos Exp $");
#if 0
#define IPRINTF(x) printf x
@@ -396,7 +396,8 @@
/*
* Clear the interrupt latch.
*/
- bus_space_write_1(sc->sc_iot, sc->sc_ioh, 0, 0);
+ if (sc->sc_type == NPX_INTERRUPT)
+ bus_space_write_1(sc->sc_iot, sc->sc_ioh, 0, 0);
#endif
/*
Home |
Main Index |
Thread Index |
Old Index