Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/pci Undo accidental whitespace changes from apply...



details:   https://anonhg.NetBSD.org/src/rev/3bc4ed3a1478
branches:  netbsd-8
changeset: 369928:3bc4ed3a1478
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 08 10:29:36 2022 +0000

description:
Undo accidental whitespace changes from applying the patch for
ticket #1759 by applying a patch from msaitoh (NFC).

diffstat:

 sys/dev/pci/if_wm.c |  34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (62 lines):

diff -r e4775381395c -r 3bc4ed3a1478 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Wed Sep 07 10:10:55 2022 +0000
+++ b/sys/dev/pci/if_wm.c       Thu Sep 08 10:29:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.508.4.46 2022/09/07 10:09:20 martin Exp $  */
+/*     $NetBSD: if_wm.c,v 1.508.4.47 2022/09/08 10:29:36 martin 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.508.4.46 2022/09/07 10:09:20 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.508.4.47 2022/09/08 10:29:36 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -3168,16 +3168,16 @@
            NULL, xname, "linkintr");
 
        if (sc->sc_type >= WM_T_82542_2_1) {
-       evcnt_attach_dynamic(&sc->sc_ev_tx_xoff, EVCNT_TYPE_MISC,
-           NULL, xname, "tx_xoff");
-       evcnt_attach_dynamic(&sc->sc_ev_tx_xon, EVCNT_TYPE_MISC,
-           NULL, xname, "tx_xon");
-       evcnt_attach_dynamic(&sc->sc_ev_rx_xoff, EVCNT_TYPE_MISC,
-           NULL, xname, "rx_xoff");
-       evcnt_attach_dynamic(&sc->sc_ev_rx_xon, EVCNT_TYPE_MISC,
-           NULL, xname, "rx_xon");
-       evcnt_attach_dynamic(&sc->sc_ev_rx_macctl, EVCNT_TYPE_MISC,
-           NULL, xname, "rx_macctl");
+               evcnt_attach_dynamic(&sc->sc_ev_tx_xoff, EVCNT_TYPE_MISC,
+                   NULL, xname, "tx_xoff");
+               evcnt_attach_dynamic(&sc->sc_ev_tx_xon, EVCNT_TYPE_MISC,
+                   NULL, xname, "tx_xon");
+               evcnt_attach_dynamic(&sc->sc_ev_rx_xoff, EVCNT_TYPE_MISC,
+                   NULL, xname, "rx_xoff");
+               evcnt_attach_dynamic(&sc->sc_ev_rx_xon, EVCNT_TYPE_MISC,
+                   NULL, xname, "rx_xon");
+               evcnt_attach_dynamic(&sc->sc_ev_rx_macctl, EVCNT_TYPE_MISC,
+                   NULL, xname, "rx_macctl");
        }
 
        evcnt_attach_dynamic(&sc->sc_ev_crcerrs, EVCNT_TYPE_MISC,
@@ -3359,11 +3359,11 @@
        evcnt_detach(&sc->sc_ev_linkintr);
 
        if (sc->sc_type >= WM_T_82542_2_1) {
-       evcnt_detach(&sc->sc_ev_tx_xoff);
-       evcnt_detach(&sc->sc_ev_tx_xon);
-       evcnt_detach(&sc->sc_ev_rx_xoff);
-       evcnt_detach(&sc->sc_ev_rx_xon);
-       evcnt_detach(&sc->sc_ev_rx_macctl);
+               evcnt_detach(&sc->sc_ev_tx_xoff);
+               evcnt_detach(&sc->sc_ev_tx_xon);
+               evcnt_detach(&sc->sc_ev_rx_xoff);
+               evcnt_detach(&sc->sc_ev_rx_xon);
+               evcnt_detach(&sc->sc_ev_rx_macctl);
        }
 
        evcnt_detach(&sc->sc_ev_crcerrs);



Home | Main Index | Thread Index | Old Index