Module Name: src
Committed By: bsiegert
Date: Mon Aug 26 18:25:29 UTC 2024
Modified Files:
src/sys/dev/ic: dwc_eqos.c
Log Message:
dwc_eqos: grammar fix
If the MAC address has the multicast bit set, the driver outputs
"Clearing the multicast bit" instead of "Clear the multicast bit".
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/dwc_eqos.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/dwc_eqos.c
diff -u src/sys/dev/ic/dwc_eqos.c:1.37 src/sys/dev/ic/dwc_eqos.c:1.38
--- src/sys/dev/ic/dwc_eqos.c:1.37 Fri Jul 5 04:31:51 2024
+++ src/sys/dev/ic/dwc_eqos.c Mon Aug 26 18:25:29 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_eqos.c,v 1.37 2024/07/05 04:31:51 rin Exp $ */
+/* $NetBSD: dwc_eqos.c,v 1.38 2024/08/26 18:25:29 bsiegert Exp $ */
/*-
* Copyright (c) 2022 Jared McNeill <[email protected]>
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.37 2024/07/05 04:31:51 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.38 2024/08/26 18:25:29 bsiegert Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -1265,7 +1265,7 @@ eqos_get_eaddr(struct eqos_softc *sc, ui
machi = RD4(sc, GMAC_MAC_ADDRESS0_HIGH) & 0xFFFF;
if ((maclo & 0x00000001) != 0) {
aprint_error_dev(sc->sc_dev,
- "Wrong MAC address. Clear the multicast bit.\n");
+ "Wrong MAC address. Clearing the multicast bit.\n");
maclo &= ~0x00000001;
}