Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic if_qflush() -> IFQ_PURGE()



details:   https://anonhg.NetBSD.org/src/rev/0dc8cf5f0c51
branches:  trunk
changeset: 500605:0dc8cf5f0c51
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Dec 14 17:48:23 2000 +0000

description:
if_qflush() -> IFQ_PURGE()

diffstat:

 sys/dev/ic/tropic.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8c7641071374 -r 0dc8cf5f0c51 sys/dev/ic/tropic.c
--- a/sys/dev/ic/tropic.c       Thu Dec 14 17:47:26 2000 +0000
+++ b/sys/dev/ic/tropic.c       Thu Dec 14 17:48:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tropic.c,v 1.16 2000/12/14 06:27:26 thorpej Exp $      */
+/*     $NetBSD: tropic.c,v 1.17 2000/12/14 17:48:23 thorpej Exp $      */
 
 /* 
  * Ported to NetBSD by Onno van der Linden
@@ -1050,7 +1050,7 @@
                                            sc->sc_dev.dv_xname);
                                        ifp->if_flags &= ~IFF_RUNNING;
                                        ifp->if_flags &= ~IFF_UP;
-                                       if_qflush(&ifp->if_snd);
+                                       IFQ_PURGE(&ifp->if_snd);
                                        callout_reset(&sc->sc_reinit_callout,
                                            hz * 30, tr_reinit, sc);
                                }



Home | Main Index | Thread Index | Old Index