Go to the documentation of this file.
11 #include <linux/sched.h>
12 #include <asm/serial-regs.h>
14 #undef MN10300_CONSOLE_ON_SERIO
19 #ifdef MN10300_CONSOLE_ON_SERIO
20 void debug_to_serial_mnser(
const char *
p,
int n)
27 #if MN10300_CONSOLE_ON_SERIO == 0
28 while (SC0STR & (SC01STR_TBF))
continue;
30 while (SC0STR & (SC01STR_TBF))
continue;
33 while (SC0STR & (SC01STR_TBF))
continue;
36 #elif MN10300_CONSOLE_ON_SERIO == 1
37 while (SC1STR & (SC01STR_TBF))
continue;
39 while (SC1STR & (SC01STR_TBF))
continue;
42 while (SC1STR & (SC01STR_TBF))
continue;
45 #elif MN10300_CONSOLE_ON_SERIO == 2
46 while (SC2STR & (SC2STR_TBF))
continue;
48 while (SC2STR & (SC2STR_TBF))
continue;
51 while (SC2STR & (SC2STR_TBF))
continue;