Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen xennetback_ifstart: test a correct variable...



details:   https://anonhg.NetBSD.org/src/rev/6c3e34022c56
branches:  trunk
changeset: 580541:6c3e34022c56
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Apr 28 18:28:00 2005 +0000

description:
xennetback_ifstart: test a correct variable, rather than a function.

diffstat:

 sys/arch/xen/xen/xennetback.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5571bce7ace3 -r 6c3e34022c56 sys/arch/xen/xen/xennetback.c
--- a/sys/arch/xen/xen/xennetback.c     Thu Apr 28 18:26:26 2005 +0000
+++ b/sys/arch/xen/xen/xennetback.c     Thu Apr 28 18:28:00 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xennetback.c,v 1.9 2005/04/17 14:50:11 bouyer Exp $      */
+/*      $NetBSD: xennetback.c,v 1.10 2005/04/28 18:28:00 yamt Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -708,7 +708,7 @@
                        xennetback_get_new_xmit_pages();
        }
        /* send event, if needed */
-       if (do_event) {
+       if (need_event) {
                x86_lfence();
                XENPRINTF(("%s receive event\n", xneti->xni_if.if_xname));
                hypervisor_notify_via_evtchn(xneti->xni_evtchn);



Home | Main Index | Thread Index | Old Index