lkml.org 
[lkml]   [1998]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectdrivers/char/console.c in 2.1.94 & 95
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.377 / U:25.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site