summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:33 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:09:57 +0900
commitd3ac0b0895c94577d4a12861dfb530db92bcf5c7 (patch)
treec3e575b6b4603fb752351a5fa6d4d7738165e1d7 /i386/i386at
parente4d39d55f160a7ae3c3b235efd40be9c7da953e3 (diff)
i386/i386at/kd.c: use boolean instead of an unsigned int
* i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/kd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 433d0f1..14524bf 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -1218,7 +1218,7 @@ kdinit()
* output : bell is turned off
*
*/
-static unsigned int kd_bellstate = 0;
+static boolean_t kd_bellstate = FALSE;
void
kd_belloff(void * param)
@@ -1227,7 +1227,7 @@ kd_belloff(void * param)
status = (inb(K_PORTB) & ~(K_SPKRDATA | K_ENABLETMR2));
outb(K_PORTB, status);
- kd_bellstate = 0;
+ kd_bellstate = FALSE;
return;
}
@@ -1300,7 +1300,7 @@ u_char ch;
{
kd_bellon();
timeout(kd_belloff, 0, hz/8 );
- kd_bellstate = 1;
+ kd_bellstate = TRUE;
}
break;
default: