/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* @APPLE_FREE_COPYRIGHT@
*/
+#ifndef _PPC_SERIAL_IO_H_
+#define _PPC_SERIAL_IO_H_
+#include <console/serial_protos.h>
#include <device/device_types.h>
#include <mach_kdp.h>
#endif /* 0 */
-extern int scc_putc(
+extern void scc_putc(
int unit,
int line,
int c);
boolean_t wait,
boolean_t raw);
-/* Functions in serial_console.c for switching between serial and video
- consoles. */
-extern boolean_t console_is_serial(void);
-extern int switch_to_serial_console(
- void);
-
-extern int switch_to_video_console(
- void);
-
-extern void switch_to_old_console(
- int old_console);
-
-void serial_keyboard_init(void);
-void serial_keyboard_start(void);
-void serial_keyboard_poll(void);
-
-
/*
* JMM - We are not really going to support this driver in SMP (barely
* support it now - so just pick up the stubbed out versions.
are time delays XXX */
#define TF_ECHO 0x00000080 /* device wants user to echo input */
#define TS_MIN 0x00004000 /* buffer input chars, if possible */
+
+#endif /* _PPC_SERIAL_IO_H_ */