[PATCH 45/47] Re-add PC Speaker support for PPC

From: Vojtech Pavlik
Date: Thu Jul 29 2004 - 09:29:52 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

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

ChangeSet@xxxxxxxxxxx, 2004-07-27 14:46:36+02:00, olh@xxxxxxx
input: Re-add PC Speaker support for PPC

Signed-off-by: Olaf Hering <olh@xxxxxxx>
Signed-off-by: Vojtech Pavlik <vojtech@xxxxxxx>


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/