summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker/spkr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2008-03-26 15:03:24 +0000
committerphk <phk@FreeBSD.org>2008-03-26 15:03:24 +0000
commit632e5d39f769e15274575347233e9d7aa364c0d6 (patch)
tree1da2fb656ceba413a6d80ca5348362fc5404d1e1 /sys/dev/speaker/spkr.c
parent44bfb30efdba0d9e7610adc1f78c743a11e6e49d (diff)
downloadFreeBSD-src-632e5d39f769e15274575347233e9d7aa364c0d6.zip
FreeBSD-src-632e5d39f769e15274575347233e9d7aa364c0d6.tar.gz
Rename timer0_max_count to i8254_max_count.
Rename timer0_real_max_count to i8254_real_max_count and make it static. Rename timer_freq to i8254_freq and make it a loader tunable.
Diffstat (limited to 'sys/dev/speaker/spkr.c')
-rw-r--r--sys/dev/speaker/spkr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 4ab065e..f2f4989 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -80,7 +80,7 @@ tone(thz, centisecs)
if (thz <= 0)
return;
- divisor = timer_freq / thz;
+ divisor = i8254_freq / thz;
#ifdef DEBUG
(void) printf("tone: thz=%d centisecs=%d\n", thz, centisecs);
OpenPOWER on IntegriCloud