Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Be less tautological and more explanatory in a c...



details:   https://anonhg.NetBSD.org/src/rev/2cf2cd1d36c3
branches:  trunk
changeset: 368306:2cf2cd1d36c3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jul 04 15:09:12 2022 +0000

description:
Be less tautological and more explanatory in a comment.

diffstat:

 sys/dev/pci/if_wm.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r faeafb28b8b8 -r 2cf2cd1d36c3 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Sun Jul 03 21:17:24 2022 +0000
+++ b/sys/dev/pci/if_wm.c       Mon Jul 04 15:09:12 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.735 2022/07/02 06:10:29 skrll Exp $        */
+/*     $NetBSD: if_wm.c,v 1.736 2022/07/04 15:09:12 skrll Exp $        */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.735 2022/07/02 06:10:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.736 2022/07/04 15:09:12 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -3020,7 +3020,8 @@
        } else {
                ifp->if_start = wm_start;
                /*
-                * wm_transmit() has the same disadvantage as wm_transmit().
+                * wm_transmit() has the same disadvantages as wm_nq_transmit()
+                * described above.
                 */
                if (wm_is_using_multiqueue(sc))
                        ifp->if_transmit = wm_transmit;



Home | Main Index | Thread Index | Old Index