white space -> tab.

This commit is contained in:
isaki 2010-08-08 09:33:05 +00:00
parent bec4c1ae51
commit 59d7957ede
1 changed files with 11 additions and 11 deletions

View File

@ -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 @@ pckbc_set_poll(void *self, pckbc_slot_t slot, int on)
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 @@ pckbc_cnattach(bus_space_tag_t iot, bus_addr_t addr,
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));