summaryrefslogtreecommitdiffstats
path: root/sys/isa/syscons_isa.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/isa/syscons_isa.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/isa/syscons_isa.c')
-rw-r--r--sys/isa/syscons_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c
index 6d8cefa..50ed27d 100644
--- a/sys/isa/syscons_isa.c
+++ b/sys/isa/syscons_isa.c
@@ -278,7 +278,7 @@ sc_tone(int herz)
if (timer_spkr_acquire())
return EBUSY;
/* set pitch */
- spkr_set_pitch(timer_freq / herz);
+ spkr_set_pitch(i8254_freq / herz);
/* enable counter 2 output to speaker */
ppi_spkr_on();
} else {
OpenPOWER on IntegriCloud