From: Philip Homburg Date: Mon, 23 Apr 2007 14:59:32 +0000 (+0000) Subject: Disabled ser_putc for reporting debug internal to tty over the serial line. X-Git-Tag: v3.1.4~401 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/openlogo-25.jpg?a=commitdiff_plain;h=bb659b1ad691158d125d13ef8b55e13aead375b7;p=minix.git Disabled ser_putc for reporting debug internal to tty over the serial line. Disabled return statement for serial debug input in the kernel. --- diff --git a/drivers/tty/console.c b/drivers/tty/console.c index 4fd10c30b..5a186a3f7 100644 --- a/drivers/tty/console.c +++ b/drivers/tty/console.c @@ -1170,6 +1170,9 @@ int c; /* character to print */ if (c != 0) { if (c == '\n') cons_putk('\r'); out_char(&cons_table[0], (int) c); +#if 0 + ser_putc(c); +#endif } else { flush(&cons_table[0]); } diff --git a/drivers/tty/rs232.c b/drivers/tty/rs232.c index 02176b8f9..a0afd5450 100644 --- a/drivers/tty/rs232.c +++ b/drivers/tty/rs232.c @@ -891,6 +891,10 @@ register rs232_t *rs; /* line with input interrupt */ unsigned long c; +#if 0 /* Enable this if you want serial input in the kernel */ + return; +#endif + #if (MACHINE == IBM_PC) sys_inb(rs->recv_port, &c); #else /* MACHINE == ATARI */