summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2008-04-08 13:10:57 +0000
committernyan <nyan@FreeBSD.org>2008-04-08 13:10:57 +0000
commitec844a0ec07cb75eef07f6ae8adae0dd1bb45248 (patch)
tree37ba72019712555b369109ab5cc2dc973c106baf /sys/pc98/cbus
parent7d00f5849710b6d6c0e1bacaf7bd4dd5fc4ca2d8 (diff)
downloadFreeBSD-src-ec844a0ec07cb75eef07f6ae8adae0dd1bb45248.zip
FreeBSD-src-ec844a0ec07cb75eef07f6ae8adae0dd1bb45248.tar.gz
Always set the bell_pitch to 800. This catch up with the sysbeep() argument
changing.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/sc_machdep.h4
-rw-r--r--sys/pc98/cbus/syscons_cbus.c5
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/pc98/cbus/sc_machdep.h b/sys/pc98/cbus/sc_machdep.h
index ea7b3ba..5dbc94e 100644
--- a/sys/pc98/cbus/sc_machdep.h
+++ b/sys/pc98/cbus/sc_machdep.h
@@ -43,10 +43,6 @@
#define KANJI 1
-#define BELL_DURATION 5
-#define BELL_PITCH_8M 1339
-#define BELL_PITCH_5M 1678
-
#define UJIS 0
#define SJIS 1
diff --git a/sys/pc98/cbus/syscons_cbus.c b/sys/pc98/cbus/syscons_cbus.c
index 9f42f39..719b3cb 100644
--- a/sys/pc98/cbus/syscons_cbus.c
+++ b/sys/pc98/cbus/syscons_cbus.c
@@ -214,10 +214,7 @@ sc_get_bios_values(bios_values_t *values)
values->cursor_start = 15;
values->cursor_end = 16;
values->shift_state = 0;
- if (pc98_machine_type & M_8M)
- values->bell_pitch = BELL_PITCH_8M;
- else
- values->bell_pitch = BELL_PITCH_5M;
+ values->bell_pitch = BELL_PITCH;
}
int
OpenPOWER on IntegriCloud