summaryrefslogtreecommitdiffstats
path: root/sys/pc98/include/timerreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/include/timerreg.h')
-rw-r--r--sys/pc98/include/timerreg.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/pc98/include/timerreg.h b/sys/pc98/include/timerreg.h
index 59c223c..f232581 100644
--- a/sys/pc98/include/timerreg.h
+++ b/sys/pc98/include/timerreg.h
@@ -49,17 +49,6 @@
#define TIMER_CNTR2 (IO_TIMER1 + TIMER_REG_CNTR2 * 2)
#define TIMER_MODE (IO_TIMER1 + TIMER_REG_MODE * 2)
-#define timer_spkr_acquire() \
- acquire_timer1(TIMER_SEL1 | TIMER_SQWAVE | TIMER_16BIT)
-#define timer_spkr_release() \
- release_timer1()
-
-#define spkr_set_pitch(pitch) \
- do { \
- outb(TIMER_CNTR1, (pitch) & 0xff); \
- outb(TIMER_CNTR1, (pitch) >> 8); \
- } while(0)
-
#endif /* _KERNEL */
#endif /* _MACHINE_TIMERREG_H_ */
OpenPOWER on IntegriCloud