[PATCH 45/47] Re-add PC Speaker support for PPC
From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 07/29/04
- Previous message: Vojtech Pavlik: "[PATCH 40/47] Add serio_raw driver"
- Next in thread: Vojtech Pavlik: "[PATCH 46/47] Fix a missing index in tmdc.c"
- Reply: Vojtech Pavlik: "[PATCH 46/47] Fix a missing index in tmdc.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: torvalds@osdl.org, vojtech@suse.cz, linux-kernel@vger.kernel.org Date: Thu, 29 Jul 2004 16:09:56 +0200
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/
- Previous message: Vojtech Pavlik: "[PATCH 40/47] Add serio_raw driver"
- Next in thread: Vojtech Pavlik: "[PATCH 46/47] Fix a missing index in tmdc.c"
- Reply: Vojtech Pavlik: "[PATCH 46/47] Fix a missing index in tmdc.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|