Module Name: src Committed By: jakllsch Date: Thu Sep 8 15:26:26 UTC 2011
Modified Files: src/sys/dev/pckbport: pms.c Log Message: Make whitespace more consistent. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/pckbport/pms.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/pckbport/pms.c diff -u src/sys/dev/pckbport/pms.c:1.32 src/sys/dev/pckbport/pms.c:1.33 --- src/sys/dev/pckbport/pms.c:1.32 Wed Sep 7 19:05:13 2011 +++ src/sys/dev/pckbport/pms.c Thu Sep 8 15:26:26 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pms.c,v 1.32 2011/09/07 19:05:13 jakllsch Exp $ */ +/* $NetBSD: pms.c,v 1.33 2011/09/08 15:26:26 jakllsch Exp $ */ /*- * Copyright (c) 2004 Kentaro Kurahone. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.32 2011/09/07 19:05:13 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.33 2011/09/08 15:26:26 jakllsch Exp $"); #include "opt_pms.h" @@ -498,7 +498,7 @@ int newbuttons = 0; if (!sc->sc_enabled) { - /* Interrupts are not expected. Discard the byte. */ + /* Interrupts are not expected. Discard the byte. */ return; } @@ -585,9 +585,9 @@ dz = sc->packet[3] & 0xf; if (dz >= 8) dz -= 16; - if (sc->packet[3] & PMS_4BUTMASK) + if (sc->packet[3] & PMS_4BUTMASK) newbuttons |= 0x8; - if (sc->packet[3] & PMS_5BUTMASK) + if (sc->packet[3] & PMS_5BUTMASK) newbuttons |= 0x10; } else { DPRINTF(("pmsinput: why am I looking at this byte?\n"));