Module Name: src Committed By: isaki Date: Sun Aug 8 09:33:05 UTC 2010
Modified Files: src/sys/dev/ic: pckbc.c Log Message: white space -> tab. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/pckbc.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/pckbc.c diff -u src/sys/dev/ic/pckbc.c:1.50 src/sys/dev/ic/pckbc.c:1.51 --- src/sys/dev/ic/pckbc.c:1.50 Mon Apr 19 18:24:26 2010 +++ src/sys/dev/ic/pckbc.c Sun Aug 8 09:33:05 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pckbc.c,v 1.50 2010/04/19 18:24:26 dyoung Exp $ */ +/* $NetBSD: pckbc.c,v 1.51 2010/08/08 09:33:05 isaki Exp $ */ /* * Copyright (c) 2004 Ben Harris. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.50 2010/04/19 18:24:26 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.51 2010/08/08 09:33:05 isaki Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -461,14 +461,14 @@ t->t_slotdata[slot]->poll_data = -1; t->t_slotdata[slot]->poll_stat = -1; } else { - int s; + int s; - /* - * If disabling polling on a device that's been configured, - * make sure there are no bytes left in the FIFO, holding up - * the interrupt line. Otherwise we won't get any further - * interrupts. - */ + /* + * If disabling polling on a device that's been configured, + * make sure there are no bytes left in the FIFO, holding up + * the interrupt line. Otherwise we won't get any further + * interrupts. + */ if (t->t_sc) { s = spltty(); pckbcintr(t->t_sc); @@ -621,10 +621,10 @@ int res = 0; if (bus_space_map(iot, addr + KBDATAP, 1, 0, &ioh_d)) - return (ENXIO); + return (ENXIO); if (bus_space_map(iot, addr + cmd_offset, 1, 0, &ioh_c)) { bus_space_unmap(iot, ioh_d, 1); - return (ENXIO); + return (ENXIO); } memset(&pckbc_consdata, 0, sizeof(pckbc_consdata));