patch-2.4.20 linux-2.4.20/arch/m68k/mac/debug.c
Next file: linux-2.4.20/arch/m68k/mac/macints.c
Previous file: linux-2.4.20/arch/m68k/mac/config.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/m68k/mac/debug.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/m68k/mac/debug.c linux-2.4.20/arch/m68k/mac/debug.c
@@ -36,7 +36,7 @@
extern unsigned long mac_videodepth;
extern unsigned long mac_rowbytes;
-extern void mac_serial_print(char *);
+extern void mac_serial_print(const char *);
#define DEBUG_HEADS
#undef DEBUG_SCREEN
@@ -137,7 +137,7 @@
* TODO: serial debug code
*/
-struct SCC
+struct mac_SCC
{
u_char cha_b_ctrl;
u_char char_dummy1;
@@ -148,7 +148,7 @@
u_char cha_a_data;
};
-# define scc (*((volatile struct SCC*)mac_bi_data.sccbase))
+# define scc (*((volatile struct mac_SCC*)mac_bi_data.sccbase))
/* Flag that serial port is already initialized and used */
int mac_SCC_init_done = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)