Module Name: src
Committed By: christos
Date: Mon Aug 12 21:27:34 UTC 2024
Modified Files:
src/sys/dev/ic: rtl8169.c
Log Message:
fix whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/sys/dev/ic/rtl8169.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/rtl8169.c
diff -u src/sys/dev/ic/rtl8169.c:1.178 src/sys/dev/ic/rtl8169.c:1.179
--- src/sys/dev/ic/rtl8169.c:1.178 Mon Aug 12 14:55:01 2024
+++ src/sys/dev/ic/rtl8169.c Mon Aug 12 17:27:34 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.178 2024/08/12 18:55:01 christos Exp $ */
+/* $NetBSD: rtl8169.c,v 1.179 2024/08/12 21:27:34 christos Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.178 2024/08/12 18:55:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.179 2024/08/12 21:27:34 christos Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -2179,15 +2179,15 @@ re_stop(struct ifnet *ifp, int disable)
mii_down(&sc->mii);
- /*
- * Disable accepting frames to put RX MAC into idle state.
- * Otherwise it's possible to get frames while stop command
- * execution is in progress and controller can DMA the frame
- * to already freed RX buffer during that period.
- */
- CSR_WRITE_4(sc, RTK_RXCFG, CSR_READ_4(sc, RTK_RXCFG) &
- ~(RTK_RXCFG_RX_ALLPHYS | RTK_RXCFG_RX_INDIV | RTK_RXCFG_RX_MULTI |
- RTK_RXCFG_RX_BROAD));
+ /*
+ * Disable accepting frames to put RX MAC into idle state.
+ * Otherwise it's possible to get frames while stop command
+ * execution is in progress and controller can DMA the frame
+ * to already freed RX buffer during that period.
+ */
+ CSR_WRITE_4(sc, RTK_RXCFG, CSR_READ_4(sc, RTK_RXCFG) &
+ ~(RTK_RXCFG_RX_ALLPHYS | RTK_RXCFG_RX_INDIV | RTK_RXCFG_RX_MULTI |
+ RTK_RXCFG_RX_BROAD));
if (sc->sc_quirk & RTKQ_RXDV_GATED) {
CSR_WRITE_4(sc, RTK_MISC,