diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-05 10:01:24 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-05 10:01:24 +0000 |
commit | e471817b4d2b8b3e4d11b2d90a609a9fc6f45689 (patch) | |
tree | b371ab2f69ad5baccf77c3aee4c4235efea8d0e2 | |
parent | cd8ba1e785923c83eb1a33ee6dfd206cbd327939 (diff) |
quiet nfe_intr().
-rw-r--r-- | sys/dev/pci/if_nfe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c index 9ad72e98881..d5fc578c498 100644 --- a/sys/dev/pci/if_nfe.c +++ b/sys/dev/pci/if_nfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfe.c,v 1.15 2006/02/05 09:38:29 damien Exp $ */ +/* $OpenBSD: if_nfe.c,v 1.16 2006/02/05 10:01:23 damien Exp $ */ /*- * Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr> @@ -402,6 +402,8 @@ nfe_intr(void *arg) r = NFE_READ(sc, NFE_IRQ_STATUS); NFE_WRITE(sc, NFE_IRQ_STATUS, r); + DPRINTFN(5, ("nfe_intr: interrupt register %x\n", r)); + if (r == 0) { /* re-enable interrupts */ NFE_WRITE(sc, NFE_IRQ_MASK, NFE_IRQ_WANTED); @@ -422,8 +424,6 @@ nfe_intr(void *arg) nfe_txeof(sc); } - DPRINTF(("nfe_intr: interrupt register %x", r)); - /* re-enable interrupts */ NFE_WRITE(sc, NFE_IRQ_MASK, NFE_IRQ_WANTED); |