patch-2.4.7 linux/arch/ppc/boot/common/misc-common.c
Next file: linux/arch/ppc/boot/mbx/misc.c
Previous file: linux/arch/ppc/boot/chrp/Makefile
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Wed Jul 18 18:01:03 2001
-  Orig file: 
v2.4.6/linux/arch/ppc/boot/common/misc-common.c
-  Orig date: 
Tue Jul  3 17:08:18 2001
diff -u --recursive --new-file v2.4.6/linux/arch/ppc/boot/common/misc-common.c linux/arch/ppc/boot/common/misc-common.c
@@ -74,11 +74,11 @@
 void _vprintk(void(*)(const char), const char *, va_list);
 
 #if defined(CONFIG_SERIAL_CONSOLE)
-struct NS16550 *com_port;
+extern unsigned long com_port;
 
-int serial_tstc(volatile struct NS16550 *);
-unsigned char serial_getc(volatile struct NS16550 *);
-void serial_putc(volatile struct NS16550 *, unsigned char);
+extern int serial_tstc(volatile unsigned long com_port);
+extern unsigned char serial_getc(volatile unsigned long com_port);
+extern void serial_putc(volatile unsigned long com_port, unsigned char c);
 #endif
 
 void pause(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)