Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Remove "splurious interrupt" message. The IRQ...
details: https://anonhg.NetBSD.org/src/rev/e5ad72e23877
branches: trunk
changeset: 749245:e5ad72e23877
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Nov 22 21:18:42 2009 +0000
description:
Remove "splurious interrupt" message. The IRQ might be shared.
Fixes PR/11410
diffstat:
sys/dev/pcmcia/if_cnw.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (33 lines):
diff -r 031172170571 -r e5ad72e23877 sys/dev/pcmcia/if_cnw.c
--- a/sys/dev/pcmcia/if_cnw.c Sun Nov 22 19:34:55 2009 +0000
+++ b/sys/dev/pcmcia/if_cnw.c Sun Nov 22 21:18:42 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cnw.c,v 1.51 2009/05/12 14:42:18 cegger Exp $ */
+/* $NetBSD: if_cnw.c,v 1.52 2009/11/22 21:18:42 dsl Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cnw.c,v 1.51 2009/05/12 14:42:18 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cnw.c,v 1.52 2009/11/22 21:18:42 dsl Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -895,12 +895,9 @@
status = bus_space_read_1(sc->sc_memt, sc->sc_memh,
sc->sc_memoff + CNW_IOM_OFF + CNW_REG_CCSR);
#endif
- if (!(status & 0x02)) {
- if (ret == 0)
- printf("%s: spurious interrupt\n",
- device_xname(&sc->sc_dev));
+ if (!(status & 0x02))
+ /* No more commands, or shared IRQ */
return (ret);
- }
ret = 1;
#ifndef MEMORY_MAPPED
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, CNW_REG_ASR);
Home |
Main Index |
Thread Index |
Old Index