summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
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 ();