lkml.org 
[lkml]   [2004]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 45/47] Re-add PC Speaker support for PPC
Date
From
You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

===================================================================

ChangeSet@1.1840.1.90, 2004-07-27 14:46:36+02:00, olh@suse.de
input: Re-add PC Speaker support for PPC

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>


drivers/input/misc/Kconfig | 2 +-
include/asm-ppc/8253pit.h | 10 ++++++++++
include/asm-ppc64/8253pit.h | 10 ++++++++++
3 files changed, 21 insertions(+), 1 deletion(-)

===================================================================

diff -Nru a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
--- a/drivers/input/misc/Kconfig Thu Jul 29 14:38:33 2004
+++ b/drivers/input/misc/Kconfig Thu Jul 29 14:38:33 2004
@@ -14,7 +14,7 @@

config INPUT_PCSPKR
tristate "PC Speaker support"
- depends on (ALPHA || X86 || X86_64 || MIPS) && INPUT && INPUT_MISC
+ depends on (ALPHA || X86 || X86_64 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES) && INPUT && INPUT_MISC
help
Say Y here if you want the standard PC Speaker to be used for
bells and whistles.
diff -Nru a/include/asm-ppc/8253pit.h b/include/asm-ppc/8253pit.h
--- /dev/null Wed Dec 31 16:00:00 1969
+++ b/include/asm-ppc/8253pit.h Thu Jul 29 14:38:33 2004
@@ -0,0 +1,10 @@
+/*
+ * 8253/8254 Programmable Interval Timer
+ */
+
+#ifndef _8253PIT_H
+#define _8253PIT_H
+
+#define PIT_TICK_RATE 1193182UL
+
+#endif
diff -Nru a/include/asm-ppc64/8253pit.h b/include/asm-ppc64/8253pit.h
--- /dev/null Wed Dec 31 16:00:00 1969
+++ b/include/asm-ppc64/8253pit.h Thu Jul 29 14:38:33 2004
@@ -0,0 +1,10 @@
+/*
+ * 8253/8254 Programmable Interval Timer
+ */
+
+#ifndef _8253PIT_H
+#define _8253PIT_H
+
+#define PIT_TICK_RATE 1193182UL
+
+#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog