Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus fix ancient typo, noticed by mouse@



details:   https://anonhg.NetBSD.org/src/rev/e487d30eeb2a
branches:  trunk
changeset: 752547:e487d30eeb2a
user:      macallan <macallan%NetBSD.org@localhost>
date:      Mon Mar 01 05:26:53 2010 +0000

description:
fix ancient typo, noticed by mouse@

diffstat:

 sys/dev/sbus/p9100.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d6043227b163 -r e487d30eeb2a sys/dev/sbus/p9100.c
--- a/sys/dev/sbus/p9100.c      Mon Mar 01 03:15:16 2010 +0000
+++ b/sys/dev/sbus/p9100.c      Mon Mar 01 05:26:53 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p9100.c,v 1.52 2010/02/24 22:38:08 dyoung Exp $ */
+/*     $NetBSD: p9100.c,v 1.53 2010/03/01 05:26:53 macallan Exp $ */
 
 /*-
  * Copyright (c) 1998, 2005, 2006 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.52 2010/02/24 22:38:08 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p9100.c,v 1.53 2010/03/01 05:26:53 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -256,7 +256,7 @@
 };
 #endif
 
-#define PNOZZ_LATCH(sc, off) if(sc->sc_last_offset == (off & 0xffffff80)) { \
+#define PNOZZ_LATCH(sc, off) if(sc->sc_last_offset != (off & 0xffffff80)) { \
                sc->sc_junk = bus_space_read_4(sc->sc_bustag, sc->sc_fb_memh, \
                    off); \
                sc->sc_last_offset = off & 0xffffff80; }



Home | Main Index | Thread Index | Old Index