Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/dev/pci Pull up revision 1.28 (requested by kent in t...



details:   https://anonhg.NetBSD.org/src/rev/351a5a8b0263
branches:  netbsd-3
changeset: 575314:351a5a8b0263
user:      he <he%NetBSD.org@localhost>
date:      Fri Apr 08 15:39:38 2005 +0000

description:
Pull up revision 1.28 (requested by kent in ticket #127):
  In neo_intr(), update the watermark for the recording buffer.
  Fixes PR#26706.

diffstat:

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

diffs (27 lines):

diff -r 75c9388a0e80 -r 351a5a8b0263 sys/dev/pci/neo.c
--- a/sys/dev/pci/neo.c Fri Apr 08 15:37:43 2005 +0000
+++ b/sys/dev/pci/neo.c Fri Apr 08 15:39:38 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.27.2.1 2005/04/08 15:39:38 he 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.27.2.1 2005/04/08 15:39:38 he 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