Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci improve comments



details:   https://anonhg.NetBSD.org/src/rev/e88c8abfd9ce
branches:  trunk
changeset: 829027:e88c8abfd9ce
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jan 15 04:25:48 2018 +0000

description:
improve comments

diffstat:

 sys/dev/pci/if_wm.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r e69c79a89e74 -r e88c8abfd9ce sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Mon Jan 15 04:09:58 2018 +0000
+++ b/sys/dev/pci/if_wm.c       Mon Jan 15 04:25:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.553 2018/01/15 04:09:58 knakahara Exp $    */
+/*     $NetBSD: if_wm.c,v 1.554 2018/01/15 04:25:48 knakahara Exp $    */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.553 2018/01/15 04:09:58 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.554 2018/01/15 04:25:48 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -4210,6 +4210,10 @@
        wm_phy_post_reset(sc);
 }
 
+/*
+ * Only used by WM_T_PCH_SPT which does not use multiqueue,
+ * so it is enough to check sc->sc_queue[0] only.
+ */
 static void
 wm_flush_desc_rings(struct wm_softc *sc)
 {



Home | Main Index | Thread Index | Old Index