Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci * neo_intr()



details:   https://anonhg.NetBSD.org/src/rev/e938e5727012
branches:  trunk
changeset: 580074:e938e5727012
user:      kent <kent%NetBSD.org@localhost>
date:      Fri Apr 08 14:30:57 2005 +0000

description:
* neo_intr()
  update the watermark for the recording buffer
  The fix was provided in PR#26706 by Chapman Flack.

diffstat:

 sys/dev/pci/neo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7fa80c7010e4 -r e938e5727012 sys/dev/pci/neo.c
--- a/sys/dev/pci/neo.c Fri Apr 08 12:50:00 2005 +0000
+++ b/sys/dev/pci/neo.c Fri Apr 08 14:30:57 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: neo.c,v 1.27 2005/02/27 00:27:33 perry Exp $   */
+/*     $NetBSD: neo.c,v 1.28 2005/04/08 14:30:57 kent Exp $    */
 
 /*
  * Copyright (c) 1999 Cameron Grant <gandalf%vilnya.demon.co.uk@localhost>
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: neo.c,v 1.27 2005/02/27 00:27:33 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: neo.c,v 1.28 2005/04/08 14:30:57 kent Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -390,7 +390,7 @@
 
                sc->rwmark += sc->rblksize;
                sc->rwmark %= sc->rbufsize;
-
+               nm_wr_4(sc, NM_RBUFFER_WMARK, sc->rbuf + sc->rwmark);
                nm_ackint(sc, sc->recint);
                if (sc->rintr)
                        (*sc->rintr)(sc->rarg);



Home | Main Index | Thread Index | Old Index