summaryrefslogtreecommitdiff
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2008-03-26 15:03:24 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2008-03-26 15:03:24 +0000
commitebfbcd612ac0c9fb83ba3b0c57ef40124cdd8187 (patch)
tree1da2fb656ceba413a6d80ca5348362fc5404d1e1 /sys/dev/speaker
parentf168bfa529b6b7f10f6255af0eaf63428fff446f (diff)
Notes
Diffstat (limited to 'sys/dev/speaker')
-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 4ab065e19243..f2f4989ef177 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);