summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/syscons_cbus.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/pc98/cbus/syscons_cbus.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/pc98/cbus/syscons_cbus.c')
-rw-r--r--sys/pc98/cbus/syscons_cbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/syscons_cbus.c b/sys/pc98/cbus/syscons_cbus.c
index 4d75f22..19415a2 100644
--- a/sys/pc98/cbus/syscons_cbus.c
+++ b/sys/pc98/cbus/syscons_cbus.c
@@ -233,7 +233,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);
} else {
/* disable counter 1 */
ppi_spkr_off();
OpenPOWER on IntegriCloud