Module Name: src Committed By: taca Date: Sat Oct 16 06:31:49 UTC 2010
Modified Files: src/sys/dev/pci: if_wm.c Log Message: - Change "else" + space + tab "if" to "else" + space + "if". - A word "mechanism" was accidently separated in to "me" and "chanism" in comment. No functional chanage and I found it while reading if_wm.c yesterday. To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 src/sys/dev/pci/if_wm.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_wm.c diff -u src/sys/dev/pci/if_wm.c:1.214 src/sys/dev/pci/if_wm.c:1.215 --- src/sys/dev/pci/if_wm.c:1.214 Mon Jul 26 22:33:24 2010 +++ src/sys/dev/pci/if_wm.c Sat Oct 16 06:31:49 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: if_wm.c,v 1.214 2010/07/26 22:33:24 jym Exp $ */ +/* $NetBSD: if_wm.c,v 1.215 2010/10/16 06:31:49 taca Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc. @@ -76,7 +76,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.214 2010/07/26 22:33:24 jym Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.215 2010/10/16 06:31:49 taca Exp $"); #include "rnd.h" @@ -6364,7 +6364,7 @@ "%s: failed to get semaphore\n", __func__); return 0; } - } else if (sc->sc_flags == WM_F_SWFWHW_SYNC) { + } else if (sc->sc_flags == WM_F_SWFWHW_SYNC) { if (wm_get_swfwhw_semaphore(sc)) { aprint_error_dev(sc->sc_dev, "%s: failed to get semaphore\n", __func__); @@ -6402,7 +6402,7 @@ "%s: failed to get semaphore\n", __func__); return; } - } else if (sc->sc_flags == WM_F_SWFWHW_SYNC) { + } else if (sc->sc_flags == WM_F_SWFWHW_SYNC) { if (wm_get_swfwhw_semaphore(sc)) { aprint_error_dev(sc->sc_dev, "%s: failed to get semaphore\n", __func__); @@ -6677,8 +6677,8 @@ * against, in order to start a new cycle or FDONE bit should be * changed in the hardware so that it is 1 after harware reset, which * can then be used as an indication whether a cycle is in progress or - * has been completed .. we should also have some software semaphore me - * chanism to guard FDONE or the cycle in progress bit so that two + * has been completed .. we should also have some software semaphore + * mechanism to guard FDONE or the cycle in progress bit so that two * threads access to those bits can be sequentiallized or a way so that * 2 threads dont start the cycle at the same time */