Module Name: src
Committed By: andvar
Date: Tue Aug 1 20:46:01 UTC 2023
Modified Files:
src/sys/dev/pci: if_bge.c if_et.c
Log Message:
s/diabled/disabled/ in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.388 -r1.389 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/pci/if_et.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/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.388 src/sys/dev/pci/if_bge.c:1.389
--- src/sys/dev/pci/if_bge.c:1.388 Tue Oct 11 22:03:37 2022
+++ src/sys/dev/pci/if_bge.c Tue Aug 1 20:46:01 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.388 2022/10/11 22:03:37 andvar Exp $ */
+/* $NetBSD: if_bge.c,v 1.389 2023/08/01 20:46:01 andvar Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.388 2022/10/11 22:03:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.389 2023/08/01 20:46:01 andvar Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -2663,7 +2663,7 @@ bge_blockinit(struct bge_softc *sc)
/* 57XX step 48 */
/*
* Disable all receive return rings by setting the
- * 'ring diabled' bit in the flags field of all the receive
+ * 'ring disabled' bit in the flags field of all the receive
* return ring control blocks, located in NIC memory.
*/
if (BGE_IS_5717_PLUS(sc)) {
Index: src/sys/dev/pci/if_et.c
diff -u src/sys/dev/pci/if_et.c:1.35 src/sys/dev/pci/if_et.c:1.36
--- src/sys/dev/pci/if_et.c:1.35 Fri Sep 10 14:56:26 2021
+++ src/sys/dev/pci/if_et.c Tue Aug 1 20:46:01 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: if_et.c,v 1.35 2021/09/10 14:56:26 jakllsch Exp $ */
+/* $NetBSD: if_et.c,v 1.36 2023/08/01 20:46:01 andvar Exp $ */
/* $OpenBSD: if_et.c,v 1.12 2008/07/11 09:29:02 kevlo $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.35 2021/09/10 14:56:26 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.36 2023/08/01 20:46:01 andvar Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -1687,7 +1687,7 @@ et_init_txmac(struct et_softc *sc)
/* No flow control yet */
CSR_WRITE_4(sc, ET_TXMAC_FLOWCTRL, 0);
- /* Enable TX MAC but leave FC(?) diabled */
+ /* Enable TX MAC but leave FC(?) disabled */
CSR_WRITE_4(sc, ET_TXMAC_CTRL,
ET_TXMAC_CTRL_ENABLE | ET_TXMAC_CTRL_FC_DISABLE);
}