drivers/char/console.c in 2.1.94 & 95

Dmitry Yaitskov (dima@interlog.com)
Fri, 10 Apr 1998 16:18:42 -0400


Hi,

drivers/char/console.c did not compile here in 94, neither does it in
95 - the compiler complains (correctly):

console.c:2271: `SERIAL_ECHO_PORT' undeclared (first use in this function)

I might of course have screwed up my source somehow... Otherwise,
here's a patch (it also gets rid of a compiler warning about an
ambigious else):

-------------------------cut here-------------------------
*** drivers/char/console.c.old Fri Apr 10 16:08:47 1998
--- drivers/char/console.c Fri Apr 10 16:07:10 1998
***************
*** 1766,1776 ****
set_mode(currcons,0);
continue;
case 'n':
! if (!ques)
if (par[0] == 5)
status_report(tty);
else if (par[0] == 6)
cursor_report(currcons,tty);
continue;
}
if (ques) {
--- 1766,1777 ----
set_mode(currcons,0);
continue;
case 'n':
! if (!ques) {
if (par[0] == 5)
status_report(tty);
else if (par[0] == 6)
cursor_report(currcons,tty);
+ }
continue;
}
if (ques) {
***************
*** 2011,2017 ****
return;
}

- #define CONFIG_SERIAL_ECHO
#ifdef CONFIG_SERIAL_ECHO
serial_echo_print(b);
#endif /* CONFIG_SERIAL_ECHO */
--- 2012,2017 ----
-------------------------cut here-------------------------

-- 
Cheers,
 -Dima.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu