linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 21/28] UML - Silence some message from the console driver
@ 2005-01-10  7:36 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-01-10  7:36 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Gerd Knorr

This shuts up some messages about ioctls being called when they are handled
by the line discipline.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.10/arch/um/drivers/line.c
===================================================================
--- linux-2.6.10.orig/arch/um/drivers/line.c	2005-01-04 11:12:17.000000000 -0500
+++ linux-2.6.10/arch/um/drivers/line.c	2005-01-07 00:37:45.000000000 -0500
@@ -198,6 +198,37 @@
 
 	ret = 0;
 	switch(cmd) {
+#ifdef TIOCGETP
+	case TIOCGETP:
+	case TIOCSETP:
+	case TIOCSETN:
+#endif
+#ifdef TIOCGETC
+	case TIOCGETC:
+	case TIOCSETC:
+#endif
+#ifdef TIOCGLTC
+	case TIOCGLTC:
+	case TIOCSLTC:
+#endif
+	case TCGETS:
+	case TCSETSF:
+	case TCSETSW:
+	case TCSETS:
+	case TCGETA:
+	case TCSETAF:
+	case TCSETAW:
+	case TCSETA:
+	case TCXONC:
+	case TCFLSH:
+	case TIOCOUTQ:
+	case TIOCINQ:
+	case TIOCGLCKTRMIOS:
+	case TIOCSLCKTRMIOS:
+	case TIOCPKT:
+	case TIOCGSOFTCAR:
+	case TIOCSSOFTCAR:
+		return -ENOIOCTLCMD;
 #if 0
 	case TCwhatever:
 		/* do something */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-10  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-10  7:36 [PATCH 21/28] UML - Silence some message from the console driver Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).