summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-05-08 17:42:50 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2007-05-08 17:42:50 +0000
commit34c26318512ea9293b1d4019cdedde1ca550b419 (patch)
tree834aeccc28f8ae9670b89f39beecd241df8b1ad3 /console-client
parent4c79ee2d9f6439bdf7f6f1ad4c0723e5f6cfc053 (diff)
2007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* generic-speaker.c (generic_speaker_start): Call ioperm() on GNU Mach 1 too.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/ChangeLog2
-rw-r--r--console-client/generic-speaker.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/console-client/ChangeLog b/console-client/ChangeLog
index 3e986a5a..b69ffe4f 100644
--- a/console-client/ChangeLog
+++ b/console-client/ChangeLog
@@ -1,6 +1,8 @@
2007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* vga-support.c (vga_fini): Fix call to ioperm().
+ * generic-speaker.c (generic_speaker_start): Call ioperm() on GNU Mach
+ 1 too.
2005-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/console-client/generic-speaker.c b/console-client/generic-speaker.c
index a28f5e12..5d8f509c 100644
--- a/console-client/generic-speaker.c
+++ b/console-client/generic-speaker.c
@@ -472,12 +472,10 @@ generic_speaker_start (void *handle)
{
error_t err;
-#if OSKIT_MACH
if (ioperm (SPEAKER, 1, 1) < 0)
return errno;
if (ioperm (PIT_COUNTER_2, PIT_CTRL - PIT_COUNTER_2 + 1, 1) < 0)
return errno;
-#endif
beep_off ();