patch-2.4.20 linux-2.4.20/arch/m68k/apollo/dn_ints.c
Next file: linux-2.4.20/arch/m68k/atari/Makefile
Previous file: linux-2.4.20/arch/m68k/apollo/config.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/m68k/apollo/dn_ints.c
- Orig date:
Tue Mar 6 19:44:35 2001
diff -urN linux-2.4.19/arch/m68k/apollo/dn_ints.c linux-2.4.20/arch/m68k/apollo/dn_ints.c
@@ -12,11 +12,6 @@
static irq_handler_t dn_irqs[16];
-extern void write_keyb_cmd(u_short length, u_char *cmd);
-static char BellOnCommand[] = { 0xFF, 0x21, 0x81 },
- BellOffCommand[] = { 0xFF, 0x21, 0x82 };
-
-extern void dn_serial_print (const char *str);
void dn_process_int(int irq, struct pt_regs *fp) {
@@ -120,6 +115,11 @@
}
+#ifdef CONFIG_VT
+extern void write_keyb_cmd(u_short length, u_char *cmd);
+static char BellOnCommand[] = { 0xFF, 0x21, 0x81 },
+ BellOffCommand[] = { 0xFF, 0x21, 0x82 };
+
static void dn_nosound (unsigned long ignored) {
write_keyb_cmd(sizeof(BellOffCommand),BellOffCommand);
@@ -141,6 +141,8 @@
else
write_keyb_cmd(sizeof(BellOffCommand),BellOffCommand);
}
+#endif /* CONFIG_VT */
+
void dn_dummy_video_setup(char *options,int *ints) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)