Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci - Change "else" + space + tab "if" to "else" + s...



details:   https://anonhg.NetBSD.org/src/rev/9c497e50730d
branches:  trunk
changeset: 758062:9c497e50730d
user:      taca <taca%NetBSD.org@localhost>
date:      Sat Oct 16 06:31:49 2010 +0000

description:
- 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.

diffstat:

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

diffs (47 lines):

diff -r 8626603b9a37 -r 9c497e50730d sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Sat Oct 16 06:29:33 2010 +0000
+++ b/sys/dev/pci/if_wm.c       Sat Oct 16 06:31:49 2010 +0000
@@ -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
         */



Home | Main Index | Thread Index | Old Index